Bitcoin Core  0.15.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>

Classes

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 85 of file bench.h.

Member Typedef Documentation

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

Definition at line 91 of file bench.h.

Constructor & Destructor Documentation

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

Definition at line 92 of file bench.cpp.

Member Function Documentation

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

Definition at line 86 of file bench.cpp.

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

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