Pol  Revision:cb584c9
Pol::Tools::HighPerfTimer Class Reference

#include <timer.h>

Public Types

typedef std::chrono::high_resolution_clock Clock
 
typedef std::chrono::microseconds time_mu
 

Public Member Functions

 HighPerfTimer ()
 
time_mu ellapsed () const
 

Private Attributes

Clock::time_point _start
 

Detailed Description

Definition at line 51 of file timer.h.

Member Typedef Documentation

typedef std::chrono::high_resolution_clock Pol::Tools::HighPerfTimer::Clock

Definition at line 54 of file timer.h.

typedef std::chrono::microseconds Pol::Tools::HighPerfTimer::time_mu

Definition at line 55 of file timer.h.

Constructor & Destructor Documentation

Pol::Tools::HighPerfTimer::HighPerfTimer ( )

Definition at line 65 of file timer.cpp.

Member Function Documentation

HighPerfTimer::time_mu Pol::Tools::HighPerfTimer::ellapsed ( ) const

Definition at line 67 of file timer.cpp.

References _start.

Referenced by Pol::Clib::OFStreamWriter::flush(), and Pol::Clib::OFStreamWriter::~OFStreamWriter().

Member Data Documentation

Clock::time_point Pol::Tools::HighPerfTimer::_start
private

Definition at line 61 of file timer.h.

Referenced by ellapsed().


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