59 gettimeofday(&t, NULL);
UINT32 total_milliseconds()
UINT32 elapsedMicrosecondsSinceLastCall()
Elapsed us since the last call of this function.
UINT32 elapsedMillisecondsSinceLastCall()
Elapsed ms since the last call of this function.
virtual ~Timer()
Destructor.
TimeDuration elapsed() const
UINT32 elapsedMicroseconds() const
Returns the elapsed time in microseconds since the timer was started or restarted.
TimeDuration m_watchdogTime
UINT32 elapsedMilliseconds() const
Returns the elapsed time in milliseconds since the timer was started or restarted.
void startWatchdog(TimeDuration watchdogTime)
void restart()
Restarts the timer.