Raven Core  3.0.0
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
 
uint64_t count
 
uint64_t countMask
 
uint64_t beginCycles
 
uint64_t lastCycles
 
uint64_t minCycles
 
uint64_t maxCycles
 

Detailed Description

Definition at line 41 of file bench.h.

Constructor & Destructor Documentation

◆ State()

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

Definition at line 53 of file bench.h.

Here is the call graph for this function:

Member Function Documentation

◆ KeepRunning()

bool benchmark::State::KeepRunning ( )

Definition at line 44 of file bench.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ beginCycles

uint64_t benchmark::State::beginCycles
private

Definition at line 48 of file bench.h.

◆ beginTime

double benchmark::State::beginTime
private

Definition at line 44 of file bench.h.

◆ count

uint64_t benchmark::State::count
private

Definition at line 46 of file bench.h.

◆ countMask

uint64_t benchmark::State::countMask
private

Definition at line 47 of file bench.h.

◆ lastCycles

uint64_t benchmark::State::lastCycles
private

Definition at line 49 of file bench.h.

◆ lastTime

double benchmark::State::lastTime
private

Definition at line 45 of file bench.h.

◆ maxCycles

uint64_t benchmark::State::maxCycles
private

Definition at line 51 of file bench.h.

◆ maxElapsed

double benchmark::State::maxElapsed
private

Definition at line 43 of file bench.h.

◆ maxTime

double benchmark::State::maxTime
private

Definition at line 45 of file bench.h.

◆ minCycles

uint64_t benchmark::State::minCycles
private

Definition at line 50 of file bench.h.

◆ minTime

double benchmark::State::minTime
private

Definition at line 45 of file bench.h.

◆ name

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

Definition at line 42 of file bench.h.


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