29 #ifndef CPU_TIMER_HEADER_GUARD
30 #define CPU_TIMER_HEADER_GUARD
37 #include "boost/timer/timer.hpp"
87 #endif//CPU_TIMER_HEADER_GUARD
~CpuTimer()
Destructor - void implementation.
boost::timer::nanosecond_type NanosecondType
Nanosecond data type (int_least64_t)
Utilitary class providing algorithm timing functionality.
std::string ToString() const
Returns the elapsed user process time as a formatted string (HH::MM::SS.mmm)
void Stop()
Stops the timer.
boost::timer::cpu_timer timer
the internal timer variable
CpuTimer operator=(CpuTimer const &)
Copy assignment operator - not implemented.
CpuTimer()
Default constructor.
NanosecondType GetDuration() const
Returns the elapsed user process time (in nanoseconds)
void Reset()
Resets the timer.