20 (void)GetTime<std::chrono::seconds>();
28 (void)GetTime<std::chrono::milliseconds>();
static void BenchTimeMillisSys(benchmark::Bench &bench)
int64_t GetTimeMillis()
Returns the system time (not mockable)
void SetMockTime(int64_t nMockTimeIn)
DEPRECATED Use SetMockTime with chrono type.
Bench & run(char const *benchmarkName, Op &&op)
Repeatedly calls op() based on the configuration, and performs measurements.
static void BenchTimeMock(benchmark::Bench &bench)
BENCHMARK(BenchTimeDeprecated)
Main entry point to nanobench's benchmarking facility.
static void BenchTimeDeprecated(benchmark::Bench &bench)
int64_t GetTime()
Return system time (or mocked time, if set)
static void BenchTimeMillis(benchmark::Bench &bench)