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);
Starts timing (using rtc) and returns elapsed time from start. Better resolution (2uSec instead of ~2...
clockTime()
Construct with the current clock time.
double timeIncrement() const
Return time (in seconds) since last call to timeIncrement()
double elapsedTime() const
Return time (in seconds) from the start.