Dash Core  0.12.2.1
P2P Digital Currency
benchmark::BenchRunner Class Reference

#include <bench.h>

Public Member Functions

 BenchRunner (std::string name, BenchFunction func)
 

Static Public Member Functions

static void RunAll (double elapsedTimeForOne=1.0)
 

Static Private Attributes

static std::map< std::string, BenchFunctionbenchmarks
 

Detailed Description

Definition at line 57 of file bench.h.

Constructor & Destructor Documentation

◆ BenchRunner()

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

Definition at line 20 of file bench.cpp.

Member Function Documentation

◆ RunAll()

void BenchRunner::RunAll ( double  elapsedTimeForOne = 1.0)
static

Definition at line 26 of file bench.cpp.

Referenced by main().

Member Data Documentation

◆ benchmarks

std::map< std::string, BenchFunction > BenchRunner::benchmarks
staticprivate

Definition at line 59 of file bench.h.

Referenced by BenchRunner(), and RunAll().


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