Loading...
Searching...
No Matches
WallclockTimer Class Reference
Inheritance diagram for WallclockTimer:
![]()
Detailed DescriptionDefinition at line 38 of file wallclocktimer.h. Constructor & Destructor Documentation◆ WallclockTimer() [1/2]
default constructor Definition at line 68 of file wallclocktimer.h. ◆ WallclockTimer() [2/2]
copy constructor Definition at line 72 of file wallclocktimer.h. ◆ ~WallclockTimer()
Definition at line 84 of file wallclocktimer.h. Member Function Documentation◆ lastTime()
Implements Timer. Definition at line 138 of file wallclocktimer.cpp. References WallclockTimer::lasttime. ◆ operator=()
assignment operator Definition at line 76 of file wallclocktimer.h. References WallclockTimer::lasttime, WallclockTimer::sec, and WallclockTimer::usec. ◆ reset()
initialize timer, set timing accounts to zero. Implements Timer. Definition at line 92 of file wallclocktimer.h. References WallclockTimer::lasttime, Timer::RESET, WallclockTimer::sec, Timer::status, and WallclockTimer::usec. ◆ start()
start timer, resume accounting user, system and real time. Implements Timer. Definition at line 42 of file wallclocktimer.cpp. References WallclockTimer::lasttime, Timer::RUNNING, WallclockTimer::sec, Timer::status, WallclockTimer::time(), and WallclockTimer::usec. ◆ stop()
stop timer, return accounted user time. Implements Timer. Definition at line 74 of file wallclocktimer.cpp. References WallclockTimer::lasttime, Timer::RUNNING, WallclockTimer::sec, Timer::status, Timer::STOPPED, WallclockTimer::time(), WallclockTimer::usec, and WallclockTimer::wall2sec(). ◆ time()
Implements Timer. Definition at line 109 of file wallclocktimer.cpp. References WallclockTimer::lasttime, Timer::RUNNING, WallclockTimer::sec, Timer::status, WallclockTimer::time(), WallclockTimer::usec, and WallclockTimer::wall2sec(). Referenced by WallclockTimer::start(), WallclockTimer::stop(), and WallclockTimer::time(). ◆ type()
return type of timer Implements Timer. Definition at line 106 of file wallclocktimer.h. References Timer::WALLCLOCK_TIME. ◆ wall2sec()
convert wallclock time to secounds. Definition at line 55 of file wallclocktimer.h. Referenced by WallclockTimer::stop(), and WallclockTimer::time(). Member Data Documentation◆ lasttime
Definition at line 48 of file wallclocktimer.h. Referenced by WallclockTimer::lastTime(), WallclockTimer::operator=(), WallclockTimer::reset(), WallclockTimer::start(), WallclockTimer::stop(), and WallclockTimer::time(). ◆ sec
seconds Definition at line 45 of file wallclocktimer.h. Referenced by WallclockTimer::operator=(), WallclockTimer::reset(), WallclockTimer::start(), WallclockTimer::stop(), and WallclockTimer::time(). ◆ usec
microseconds Definition at line 46 of file wallclocktimer.h. Referenced by WallclockTimer::operator=(), WallclockTimer::reset(), WallclockTimer::start(), WallclockTimer::stop(), and WallclockTimer::time().
|