Class for tracking time. More...
|Starts the timer. |
|Stops the timer. |
|double||elapsed (void) const|
|Return the elapsed time. More...|
|Returns the current lap time. More...|
|Return the current average lap-time... |
Class for tracking time.
Can either track wall-time or user-time, depending on the timer policy class used... The default is to track wall-time. Starting and stopping the timer does not actually do anything other than adjust how the current time is tracked, i.e. no real timers (interrupts, etc) are created.
Time is tracked to microsecond precision... See gettimeofday(2) or getrusage(2) for more information...