Random distribution benchmark
{
rand();
}
BENCHMARK(
"rand()-till-zero", Settings().Infinite().Attempts(10))
{
if (rand() == 0)
context.Cancel();
}
CppBenchmark definitions.
#define BENCHMARK_MAIN()
Benchmark main entry point macro.
#define BENCHMARK(...)
Benchmark register macro.