39 #include <sys/types.h> 55 typedef struct timeval timeType;
59 mutable timeType lastTime_;
60 mutable timeType newTime_;
65 static void getTime(timeType&);
68 static double timeDifference(
const timeType& beg,
const timeType& end);
double elapsedTime() const
Return time (in seconds) from the start.
clockTime()
Construct with the current clock time.
double timeIncrement() const
Return time (in seconds) since last call to timeIncrement()
Starts timing (using rtc) and returns elapsed time from start. Better resolution (2uSec instead of ~2...