5#ifndef BITCOIN_BENCH_BENCH_H
6#define BITCOIN_BENCH_BENCH_H
66 benchmark::BenchRunner PASTE2(bench_, PASTE2(__LINE__, n))(STRINGIZE(n), n);
Main entry point to nanobench's benchmarking facility.
static BenchmarkMap & benchmarks()
static void RunAll(const Args &args)
std::map< std::string, BenchFunction > BenchmarkMap
Path class wrapper to block calls to the fs::path(std::string) implicit constructor and the fs::path:...
std::function< void(Bench &)> BenchFunction
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...
std::vector< double > asymptote
std::chrono::milliseconds min_time