Bitcoin Core  0.20.99
P2P Digital Currency
Classes | Namespaces | Macros | Typedefs
bench.h File Reference
#include <chrono>
#include <functional>
#include <map>
#include <string>
#include <vector>
#include <bench/nanobench.h>
#include <boost/preprocessor/cat.hpp>
#include <boost/preprocessor/stringize.hpp>
Include dependency graph for bench.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  benchmark::Args
 
class  benchmark::BenchRunner
 

Namespaces

 benchmark
 

Macros

#define BENCHMARK(n)   benchmark::BenchRunner BOOST_PP_CAT(bench_, BOOST_PP_CAT(__LINE__, n))(BOOST_PP_STRINGIZE(n), n);
 

Typedefs

typedef std::function< void(Bench &)> benchmark::BenchFunction
 

Macro Definition Documentation

◆ BENCHMARK

#define BENCHMARK (   n)    benchmark::BenchRunner BOOST_PP_CAT(bench_, BOOST_PP_CAT(__LINE__, n))(BOOST_PP_STRINGIZE(n), n);

Definition at line 60 of file bench.h.