Ethereum  PoC-8
The C++ Implementation of Ethereum
dev::Timer Class Reference

#include <Common.h>

Public Member Functions

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

Detailed Description

Definition at line 255 of file Common.h.

Constructor & Destructor Documentation

◆ Timer()

dev::Timer::Timer ( )
inline

Definition at line 258 of file Common.h.

Member Function Documentation

◆ duration()

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

Definition at line 260 of file Common.h.

◆ elapsed()

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

Definition at line 261 of file Common.h.

◆ restart()

void dev::Timer::restart ( )
inline

Definition at line 262 of file Common.h.


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