23 #ifndef __ccxx_StopWatch_hxx 24 #define __ccxx_StopWatch_hxx 82 {
return(_kernelElapsed); }
89 {
return(_userElapsed); }
96 {
return(_realElapsed); }
100 {
return(_running); }
108 uint64_t _userElapsed;
109 uint64_t _kernelElapsed;
110 uint64_t _realElapsed;
119 #endif // __ccxx_StopWatch_hxx uint64_t elapsedRealTime() const
Return the total elapsed real time for this timer (up to the point where the timer was last stopped) ...
Definition: StopWatch.h++:95
uint64_t elapsedUserTime() const
Return the total elapsed user time for this timer (up to the point where the timer was last stopped) ...
Definition: StopWatch.h++:88
void pause()
Pause the timer.
Definition: StopWatch.h++:64
int64_t time_ms_t
A time expressed in milliseconds since the epoch (00:00:00, UTC, January 1, 1970).
Definition: Integers.h++:98
bool isRunning() const
Determine if this timer is running.
Definition: StopWatch.h++:99
uint64_t elapsedKernelTime() const
Return the total elapsed kernel time for this timer (up to the point where the timer was last stopped...
Definition: StopWatch.h++:81
void resume()
Resume the timer.
Definition: StopWatch.h++:71
#define COMMONCPP_API
Definition: Common.h++:126
#define CCXX_COPY_DECLS(CLASS)
Inlines declarations of a copy constructor and assignment operator for the class CLASS.
Definition: Common.h++:295
A stopwatch-style timer.
Definition: StopWatch.h++:38
Definition: AllocationMap.c++:25