Bitcoin Core  0.15.99
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)
 

Static Public Member Functions

static void RunAll (duration elapsedTimeForOne=std::chrono::seconds(1))
 

Private Types

typedef std::map< std::string, BenchFunctionBenchmarkMap
 

Static Private Member Functions

static BenchmarkMapbenchmarks ()
 

Detailed Description

Definition at line 79 of file bench.h.

Member Typedef Documentation

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

Definition at line 81 of file bench.h.

Constructor & Destructor Documentation

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

Definition at line 17 of file bench.cpp.

Here is the call graph for this function:

Member Function Documentation

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

Definition at line 12 of file bench.cpp.

Here is the caller graph for this function:

void benchmark::BenchRunner::RunAll ( benchmark::duration  elapsedTimeForOne = std::chrono::seconds(1))
static

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