5 #ifndef BITCOIN_BENCH_BENCH_H 6 #define BITCOIN_BENCH_BENCH_H 68 #define BENCHMARK(n) \ 69 benchmark::BenchRunner PASTE2(bench_runner_, n) { STRINGIZE(n), n } 71 #endif // BITCOIN_BENCH_BENCH_H BenchRunner(std::string name, BenchFunction func)
std::chrono::milliseconds min_time
std::vector< double > asymptote
static BenchmarkMap & benchmarks()
std::function< void(Bench &)> BenchFunction
static void RunAll(const Args &args)
std::map< std::string, BenchFunction > BenchmarkMap
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:...
std::vector< std::string > setup_args