5#ifndef BITCOIN_BENCH_BENCH_H
6#define BITCOIN_BENCH_BENCH_H
69 benchmark::BenchRunner PASTE2(bench_runner_, n) { STRINGIZE(n), n }
Main entry point to nanobench's benchmarking facility.
static void RunAll(const Args &args)
BenchRunner(std::string name, BenchFunction func)
std::map< std::string, BenchFunction > BenchmarkMap
static BenchmarkMap & benchmarks()
std::function< void(Bench &)> BenchFunction
std::vector< std::string > setup_args
std::vector< double > asymptote
std::chrono::milliseconds min_time