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

#include <bench.h>


struct  Bench

Public Member Functions

 BenchRunner (std::string name, BenchFunction func, uint64_t num_iters_for_one_second)

Static Public Member Functions

static void RunAll (Printer &printer, uint64_t num_evals, double scaling, const std::string &filter, bool is_list_only)

Private Types

typedef std::map< std::string, BenchBenchmarkMap

Static Private Member Functions

static BenchmarkMapbenchmarks ()

Detailed Description

Definition at line 84 of file bench.h.

Member Typedef Documentation

◆ BenchmarkMap

typedef std::map<std::string, Bench> benchmark::BenchRunner::BenchmarkMap

Definition at line 90 of file bench.h.

Constructor & Destructor Documentation

◆ BenchRunner()

benchmark::BenchRunner::BenchRunner ( std::string  name,
benchmark::BenchFunction  func,
uint64_t  num_iters_for_one_second 

Definition at line 97 of file bench.cpp.

Member Function Documentation

◆ benchmarks()

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

Definition at line 91 of file bench.cpp.

◆ RunAll()

void benchmark::BenchRunner::RunAll ( Printer printer,
uint64_t  num_evals,
double  scaling,
const std::string &  filter,
bool  is_list_only 

Definition at line 102 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: