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

#include <Common.h>

Public Member Functions

 Timer ()
 
std::chrono::high_resolution_clock::duration duration () const
 
double elapsed () const
 
void restart ()
 

Private Attributes

std::chrono::high_resolution_clock::time_point m_t
 

Detailed Description

Definition at line 274 of file Common.h.

Constructor & Destructor Documentation

dev::Timer::Timer ( )
inline

Definition at line 277 of file Common.h.

Member Function Documentation

std::chrono::high_resolution_clock::duration dev::Timer::duration ( ) const
inline

Definition at line 279 of file Common.h.

double dev::Timer::elapsed ( ) const
inline

Definition at line 280 of file Common.h.

Here is the caller graph for this function:

void dev::Timer::restart ( )
inline

Definition at line 281 of file Common.h.

Here is the caller graph for this function:

Member Data Documentation

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

Definition at line 284 of file Common.h.


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