Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
bench.h File Reference
#include <bench/nanobench.h>
#include <util/fs.h>
#include <util/macros.h>
#include <chrono>
#include <functional>
#include <map>
#include <string>
#include <vector>
Include dependency graph for bench.h:

Go to the source code of this file.

Classes

struct  benchmark::Args
class  benchmark::BenchRunner
class  benchmark::Bench
 Main entry point to nanobench's benchmarking facility. More...

Namespaces

namespace  benchmark

Macros

#define BENCHMARK(n)

Typedefs

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

Macro Definition Documentation

◆ BENCHMARK

#define BENCHMARK ( n)
Value:
benchmark::BenchRunner PASTE2(bench_runner_, n) { STRINGIZE(n), n }
#define PASTE2(x, y)
Definition macros.h:9
#define STRINGIZE(X)
Converts the parameter X to a string after macro replacement on X has been performed.
Definition macros.h:17

Definition at line 68 of file bench.h.