ICRS Eurobot 2013
Dependencies: mbed mbed-rtos Servo QEI
Timer Class Reference
A quick& dirty portable timer, measures elapsed time. More...
#include <tvmet/util/Timer.h>
Public Member Functions | |
Timer () | |
starts the timer immediatly. | |
void | restart () |
restarts the timer | |
time_t | elapsed () const |
return elapsed time in seconds |
Detailed Description
A quick& dirty portable timer, measures elapsed time.
It is recommended that implementations measure wall clock rather than CPU time since the intended use is performance measurement on systems where total elapsed time is more important than just process or CPU time.
The accuracy of timings depends on the accuracy of timing information provided by the underlying platform, and this varies from platform to platform.
Definition at line 52 of file Timer.h.
Constructor & Destructor Documentation
Member Function Documentation
Generated on Wed Jul 13 2022 18:28:37 by 1.7.2