 |
Bitcoin Core
22.99.0
P2P Digital Currency
|
Go to the documentation of this file.
20 (void)GetTime<std::chrono::seconds>();
28 (void)GetTime<std::chrono::milliseconds>();
static void BenchTimeMock(benchmark::Bench &bench)
BENCHMARK(BenchTimeDeprecated)
int64_t GetTime()
DEPRECATED Use either GetTimeSeconds (not mockable) or GetTime<T> (mockable)
Main entry point to nanobench's benchmarking facility.
static void BenchTimeMillisSys(benchmark::Bench &bench)
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 BenchTimeMillis(benchmark::Bench &bench)
static void BenchTimeDeprecated(benchmark::Bench &bench)
int64_t GetTimeMillis()
Returns the system time (not mockable)