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