Helper to initialize the global NodeClock, let a duration elapse, and reset it after use in a test.
Main entry point to nanobench's benchmarking facility.
int64_t GetTime()
DEPRECATED Use either ClockType::now() or Now<TimePointType>() if a cast is needed.
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.
static void BenchTimeMock(benchmark::Bench &bench)
static void BenchTimeDeprecated(benchmark::Bench &bench)
static void BenchTimeMillis(benchmark::Bench &bench)
static void BenchTimeMillisSys(benchmark::Bench &bench)