Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
dev::TimerHelper Class Reference

Simple scope-based timer helper. More...

#include <Common.h>

Public Member Functions

 TimerHelper (std::string const &_id, unsigned _msReportWhenGreater=0)
 
 ~TimerHelper ()
 

Private Attributes

std::chrono::high_resolution_clock::time_point m_t
 
std::string m_id
 
unsigned m_ms
 

Detailed Description

Simple scope-based timer helper.

Definition at line 262 of file Common.h.

Constructor & Destructor Documentation

dev::TimerHelper::TimerHelper ( std::string const &  _id,
unsigned  _msReportWhenGreater = 0 
)
inline

Definition at line 265 of file Common.h.

dev::TimerHelper::~TimerHelper ( )

Definition at line 57 of file Common.cpp.

Member Data Documentation

std::string dev::TimerHelper::m_id
private

Definition at line 270 of file Common.h.

unsigned dev::TimerHelper::m_ms
private

Definition at line 271 of file Common.h.

std::chrono::high_resolution_clock::time_point dev::TimerHelper::m_t
private

Definition at line 269 of file Common.h.


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