|
duncan
Mom and Dad were wrong!
|
#include <timer.h>
Public Member Functions | |
| Timer (unsigned int micros=1000) | |
| unsigned int | elapsed () |
| void | reset () |
A wrapper around the gettimeofday function.
see LICENSE
| Timer::Timer | ( | unsigned int | micros = 1000 | ) |
Initialise the timer.
| micros | number of microseconds in a 'unit' of time |
| unsigned int Timer::elapsed | ( | ) |
Find the elapsed 'units' of time.
| void Timer::reset | ( | ) |
Reset the timer.
1.7.4