Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
benchmark::State Class Reference

#include <bench.h>

Public Member Functions

bool UpdateTimer (time_point finish_time)
 
 State (std::string name, uint64_t num_evals, double num_iters, Printer &printer)
 
bool KeepRunning ()
 

Public Attributes

std::string m_name
 
uint64_t m_num_iters_left
 
const uint64_t m_num_iters
 
const uint64_t m_num_evals
 
std::vector< double > m_elapsed_results
 
time_point m_start_time
 

Detailed Description

Definition at line 54 of file bench.h.

Constructor & Destructor Documentation

benchmark::State::State ( std::string  name,
uint64_t  num_evals,
double  num_iters,
Printer printer 
)
inline

Definition at line 66 of file bench.h.

Member Function Documentation

bool benchmark::State::KeepRunning ( )
inline

Definition at line 70 of file bench.h.

bool benchmark::State::UpdateTimer ( const benchmark::time_point  current_time)

Definition at line 133 of file bench.cpp.

Here is the call graph for this function:

Member Data Documentation

std::vector<double> benchmark::State::m_elapsed_results

Definition at line 61 of file bench.h.

std::string benchmark::State::m_name

Definition at line 57 of file bench.h.

const uint64_t benchmark::State::m_num_evals

Definition at line 60 of file bench.h.

const uint64_t benchmark::State::m_num_iters

Definition at line 59 of file bench.h.

uint64_t benchmark::State::m_num_iters_left

Definition at line 58 of file bench.h.

time_point benchmark::State::m_start_time

Definition at line 62 of file bench.h.


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