WallclockTimer Class Reference
Inheritance diagram for WallclockTimer:
![]()
Detailed DescriptionDefinition at line 29 of file wallclocktimer.h. Constructor & Destructor Documentation
default constructor Definition at line 59 of file wallclocktimer.h.
copy constructor Definition at line 63 of file wallclocktimer.h.
Definition at line 75 of file wallclocktimer.h. Member Function Documentation
Implements Timer. Definition at line 119 of file wallclocktimer.cpp. References WallclockTimer::lasttime. Referenced by WallclockTimer::type().
assignment operator Definition at line 67 of file wallclocktimer.h. References WallclockTimer::lasttime, WallclockTimer::sec, and WallclockTimer::usec.
initialize timer, set timing accounts to zero. Implements Timer. Definition at line 83 of file wallclocktimer.h. References Timer::RESET, WallclockTimer::start(), Timer::status, and WallclockTimer::stop().
start timer, resume accounting user, system and real time. Implements Timer. Definition at line 33 of file wallclocktimer.cpp. References WallclockTimer::lasttime, Timer::RUNNING, WallclockTimer::sec, Timer::status, WallclockTimer::time(), and WallclockTimer::usec. Referenced by WallclockTimer::reset().
stop timer, return accounted user time. Implements Timer. Definition at line 62 of file wallclocktimer.cpp. References WallclockTimer::lasttime, Timer::RUNNING, WallclockTimer::sec, Timer::status, Timer::STOPPED, WallclockTimer::time(), WallclockTimer::usec, and WallclockTimer::wall2sec(). Referenced by WallclockTimer::reset().
Implements Timer. Definition at line 94 of file wallclocktimer.cpp. References WallclockTimer::lasttime, Timer::RUNNING, WallclockTimer::sec, Timer::status, WallclockTimer::usec, and WallclockTimer::wall2sec(). Referenced by WallclockTimer::start(), WallclockTimer::stop(), and WallclockTimer::type().
return type of timer Implements Timer. Definition at line 97 of file wallclocktimer.h. References WallclockTimer::lastTime(), WallclockTimer::time(), and Timer::WALLCLOCK_TIME.
convert wallclock time to secounds. Definition at line 46 of file wallclocktimer.h. Referenced by WallclockTimer::stop(), and WallclockTimer::time(). Member Data Documentation
Definition at line 39 of file wallclocktimer.h. Referenced by WallclockTimer::lastTime(), WallclockTimer::operator=(), WallclockTimer::start(), WallclockTimer::stop(), and WallclockTimer::time().
seconds Definition at line 36 of file wallclocktimer.h. Referenced by WallclockTimer::operator=(), WallclockTimer::start(), WallclockTimer::stop(), and WallclockTimer::time().
microseconds Definition at line 37 of file wallclocktimer.h. Referenced by WallclockTimer::operator=(), WallclockTimer::start(), WallclockTimer::stop(), and WallclockTimer::time(). |