Bitcoin Core  25.99.0
P2P Digital Currency
Public Member Functions | Static Public Member Functions | Private Types | Static Private Member Functions | List of all members
benchmark::BenchRunner Class Reference

#include <bench.h>

Public Member Functions

 BenchRunner (std::string name, BenchFunction func, PriorityLevel level)

Static Public Member Functions

static void RunAll (const Args &args)

Private Types

typedef std::map< std::string, std::pair< BenchFunction, PriorityLevel > > BenchmarkMap

Static Private Member Functions

static BenchmarkMapbenchmarks ()

Detailed Description

Definition at line 65 of file bench.h.

Member Typedef Documentation

◆ BenchmarkMap

typedef std::map<std::string, std::pair<BenchFunction, PriorityLevel> > benchmark::BenchRunner::BenchmarkMap

Definition at line 68 of file bench.h.

Constructor & Destructor Documentation

◆ BenchRunner()

benchmark::BenchRunner::BenchRunner ( std::string  name,
BenchFunction  func,
PriorityLevel  level 

Definition at line 75 of file bench.cpp.

Member Function Documentation

◆ benchmarks()

BenchRunner::BenchmarkMap & benchmark::BenchRunner::benchmarks ( )

Definition at line 69 of file bench.cpp.

◆ RunAll()

void benchmark::BenchRunner::RunAll ( const Args args)

Definition at line 80 of file bench.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: