33#include "../windows/Time.h"
66 tz.tz_minuteswest = 0;
67 if( gettimeofday( &tv, NULL ) == 0 ){
71 else start_t = start_u = 0;
77 if( gettimeofday( &tv, NULL ) == 0 )
return (tv.tv_sec - start_t) * 1000000 + (tv.tv_usec - start_u);
Simple Timer class to allow us to time our responses.
Definition: Timer.h:39
void start()
Set our time.
Definition: Timer.h:65
Timer()
Constructor.
Definition: Timer.h:60
long getTime()
Return time since we were initialised in microseconds.
Definition: Timer.h:76