|
Lagrange
|
A timer that keeps track of a total time as well as intervals. More...
#include <lagrange/utils/timing.h>
Public Member Functions | |
| void | reset () |
| Starts/restarts the timer. | |
| double | interval () |
| Returns current interval time (in seconds) and resets interval to now. More... | |
| double | total () |
| Returns total time. More... | |
A timer that keeps track of a total time as well as intervals.
|
inline |
Returns current interval time (in seconds) and resets interval to now.
|
inline |
Returns total time.
Does not reset.