Main entry point to nanobench's benchmarking facility.
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...
int64_t GetTimeMillis()
Returns the system time (not mockable)
int64_t GetTime()
DEPRECATED Use either ClockType::now() or Now<TimePointType>() if a cast is needed.
void SetMockTime(int64_t nMockTimeIn)
DEPRECATED Use SetMockTime with chrono type.
static void BenchTimeMock(benchmark::Bench &bench)
static void BenchTimeDeprecated(benchmark::Bench &bench)
static void BenchTimeMillis(benchmark::Bench &bench)
static void BenchTimeMillisSys(benchmark::Bench &bench)