5 #ifndef BITCOIN_BENCH_BENCH_H 6 #define BITCOIN_BENCH_BENCH_H 67 #define BENCHMARK(n) \ 68 benchmark::BenchRunner PASTE2(bench_, PASTE2(__LINE__, n))(STRINGIZE(n), n); 70 #endif // BITCOIN_BENCH_BENCH_H BenchRunner(std::string name, BenchFunction func)
std::chrono::milliseconds min_time
std::vector< double > asymptote
std::function< void(Bench &)> BenchFunction
std::map< std::string, BenchFunction > BenchmarkMap
static void RunAll(const Args &args)
static BenchmarkMap & benchmarks()
Main entry point to nanobench's benchmarking facility.
Path class wrapper to block calls to the fs::path(std::string) implicit constructor and the fs::path:...