Bitcoin Core 28.99.0
P2P Digital Currency
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions
bench.h File Reference
#include <bench/nanobench.h>
#include <util/fs.h>
#include <util/macros.h>
#include <chrono>
#include <cstdint>
#include <functional>
#include <map>
#include <string>
#include <utility>
#include <vector>
Include dependency graph for bench.h:

Go to the source code of this file.

Classes

struct  benchmark::Args
 
class  benchmark::BenchRunner
 

Namespaces

namespace  benchmark
 

Macros

#define BENCHMARK(n, priority_level)    benchmark::BenchRunner PASTE2(bench_, PASTE2(__LINE__, n))(STRINGIZE(n), n, priority_level);
 

Typedefs

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

Enumerations

enum  benchmark::PriorityLevel : uint8_t { benchmark::LOW = 1 << 0 , benchmark::HIGH = 1 << 2 }
 

Functions

std::string benchmark::ListPriorities ()
 
uint8_t benchmark::StringToPriority (const std::string &str)
 

Macro Definition Documentation

◆ BENCHMARK

#define BENCHMARK (   n,
  priority_level 
)     benchmark::BenchRunner PASTE2(bench_, PASTE2(__LINE__, n))(STRINGIZE(n), n, priority_level);

Definition at line 81 of file bench.h.