#include <iostream>
#include <chrono>
#include <thread>
typedef std::chrono::high_resolution_clock Clock;

std::string toString() {
  return "String_" + std::to_string(rand() % 100);
}

bool Verbose;
void log(const std::string& S) {
  if (Verbose)
    return;
}

int main()
{
    Verbose = false;
    std::chrono::milliseconds three_milliseconds{3};

    void *P;
    auto t1 = Clock::now();
    for (int I = 0; I < 1000000; ++I)
      log(toString());
    auto t2 = Clock::now();

    std::cout << "Delta t2-t1: " 
              << std::chrono::duration_cast<std::chrono::milliseconds>(t2 - t1).count()
              << " milliseconds" << std::endl;
    std::cout << P;
}