Class xlifepp::Timer#
-
class Timer#
-
Collaboration diagram for xlifepp::Timer:
cpu time and elapsed time management class
Public Functions
-
real_t deltaCpuTime(Timer *ot) const#
-
returns elapsed user time (“cputime”) interval since “ot” time
returns elapsed user time (“cputime”) interval since “ot” time in seconds
-
real_t deltaTime(Timer *ot) const#
-
returns elapsed time interval since “ot” time
returns elapsed time interval since “ot” time, in seconds
-
void getCpuTime()#
-
returns user time (“cputime”) interval since beginning of process
-
void getTime()#
-
returns time in seconds and milliseconds since 01/01/1970 00:00:00
returns time in seconds and microseconds since 01/01/1970 00:00:00
-
inline void update()#
-
converts time to tm struct
-
real_t deltaCpuTime(Timer *ot) const#