Bitcoin Core  0.15.99
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
benchmark::State Class Reference

#include <bench.h>

Public Member Functions

 State (std::string _name, double _maxElapsed)
 
bool KeepRunning ()
 

Private Attributes

std::string name
 
double maxElapsed
 
double beginTime
 
double lastTime
 
double minTime
 
double maxTime
 
double countMaskInv
 
uint64_t count
 
uint64_t countMask
 
uint64_t beginCycles
 
uint64_t lastCycles
 
uint64_t minCycles
 
uint64_t maxCycles
 

Detailed Description

Definition at line 40 of file bench.h.

Constructor & Destructor Documentation

benchmark::State::State ( std::string  _name,
double  _maxElapsed 
)
inline

Definition at line 52 of file bench.h.

Here is the call graph for this function:

Member Function Documentation

bool benchmark::State::KeepRunning ( )

Definition at line 43 of file bench.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

uint64_t benchmark::State::beginCycles
private

Definition at line 47 of file bench.h.

double benchmark::State::beginTime
private

Definition at line 43 of file bench.h.

uint64_t benchmark::State::count
private

Definition at line 45 of file bench.h.

uint64_t benchmark::State::countMask
private

Definition at line 46 of file bench.h.

double benchmark::State::countMaskInv
private

Definition at line 44 of file bench.h.

uint64_t benchmark::State::lastCycles
private

Definition at line 48 of file bench.h.

double benchmark::State::lastTime
private

Definition at line 44 of file bench.h.

uint64_t benchmark::State::maxCycles
private

Definition at line 50 of file bench.h.

double benchmark::State::maxElapsed
private

Definition at line 42 of file bench.h.

double benchmark::State::maxTime
private

Definition at line 44 of file bench.h.

uint64_t benchmark::State::minCycles
private

Definition at line 49 of file bench.h.

double benchmark::State::minTime
private

Definition at line 44 of file bench.h.

std::string benchmark::State::name
private

Definition at line 41 of file bench.h.


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