Go to the documentation of this file.
42 #include <sys/times.h>
61 static const long Hz_;
Starts timing CPU usage and return elapsed time from start.
timeType startTime_
The start time.
double cpuTimeIncrement() const
Return CPU time (in seconds) since last call to cpuTimeIncrement()
static double timeDifference(const timeType &beg, const timeType &end)
Difference between two times.
cpuTime()
Construct with the current clock time.
static void getTime(timeType &)
Retrieve the current time values from the system.
double elapsedCpuTime() const
Return CPU time (in seconds) from the start.
static const long Hz_
Clock-ticks per second.
struct tms timeType
Time structure used.