116 std::chrono::high_resolution_clock::time_point
_start;
119 std::chrono::high_resolution_clock::time_point
_pause;
127 #ifndef GUM_NO_INLINE 129 #endif // GUM_NO_INLINE 131 #endif // GUM_TIMER_H std::chrono::high_resolution_clock::time_point _pause
Time of the last call to pause().
double step() const
Returns the delta time between now and the last reset() call (or the constructor).
gum is the global namespace for all aGrUM entities
void reset()
Reset the timer.
Timer()
Default constructor (launching the timer).
double pause()
Pause the timer and return the delta (.
bool _sleeping
False if running.
double resume()
Resume the timer and return the delta (.
Timer & operator=(const Timer &timer)
Copy operator.
std::chrono::high_resolution_clock::time_point _start
Time of the last call to reset() or the constructor.
Class used to compute response times for benchmark purposesThis class represents a classic timer...