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, duration _maxElapsed)
 
bool KeepRunning ()
 

Private Attributes

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

Detailed Description

Definition at line 50 of file bench.h.

Constructor & Destructor Documentation

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

Definition at line 62 of file bench.h.

Member Function Documentation

bool benchmark::State::KeepRunning ( )

Definition at line 39 of file bench.cpp.

Here is the call graph for this function:

Member Data Documentation

uint64_t benchmark::State::beginCycles
private

Definition at line 57 of file bench.h.

time_point benchmark::State::beginTime
private

Definition at line 53 of file bench.h.

uint64_t benchmark::State::count
private

Definition at line 55 of file bench.h.

uint64_t benchmark::State::countMask
private

Definition at line 56 of file bench.h.

uint64_t benchmark::State::lastCycles
private

Definition at line 58 of file bench.h.

time_point benchmark::State::lastTime
private

Definition at line 53 of file bench.h.

uint64_t benchmark::State::maxCycles
private

Definition at line 60 of file bench.h.

duration benchmark::State::maxElapsed
private

Definition at line 52 of file bench.h.

duration benchmark::State::maxTime
private

Definition at line 54 of file bench.h.

uint64_t benchmark::State::minCycles
private

Definition at line 59 of file bench.h.

duration benchmark::State::minTime
private

Definition at line 54 of file bench.h.

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

Definition at line 51 of file bench.h.


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