This is some awesome robot code
Dependencies: mbed-rtos mbed QEI
Fork of ICRSEurobot13 by
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 Tue Jul 12 2022 18:57:57 by 1.7.2