119 std::chrono::high_resolution_clock::time_point
_start;
122 std::chrono::high_resolution_clock::time_point
_pause;
130 #ifndef GUM_NO_INLINE 132 #endif // GUM_NO_INLINE 134 #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).
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
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...