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. References lasttime, sec, Timer::Timer(), and usec. Referenced by operator=(), and WallclockTimer(). ◆ WallclockTimer() [2/2]
copy constructor Definition at line 72 of file wallclocktimer.h. References lasttime, sec, Timer::Timer(), usec, and WallclockTimer(). ◆ ~WallclockTimer()
Definition at line 84 of file wallclocktimer.h. Member Function Documentation◆ lastTime()
◆ operator=()
assignment operator Definition at line 76 of file wallclocktimer.h. References lasttime, sec, usec, and WallclockTimer(). ◆ reset()
initialize timer, set timing accounts to zero. Implements Timer. Definition at line 92 of file wallclocktimer.h. References lasttime, Timer::RESET, sec, Timer::status, and usec. ◆ start()
start timer, resume accounting user, system and real time. Implements Timer. Definition at line 42 of file wallclocktimer.cpp. References lasttime, Timer::RUNNING, sec, Timer::status, time(), and usec. ◆ stop()
stop timer, return accounted user time. Implements Timer. Definition at line 74 of file wallclocktimer.cpp. References lasttime, Timer::RUNNING, sec, Timer::status, Timer::STOPPED, time(), usec, and wall2sec(). ◆ time()
Implements Timer. Definition at line 109 of file wallclocktimer.cpp. References lasttime, Timer::RUNNING, sec, Timer::status, time(), usec, and wall2sec(). ◆ 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. Member Data Documentation◆ lasttime
Definition at line 48 of file wallclocktimer.h. Referenced by lastTime(), operator=(), reset(), start(), stop(), time(), WallclockTimer(), and WallclockTimer(). ◆ sec
seconds Definition at line 45 of file wallclocktimer.h. Referenced by operator=(), reset(), start(), stop(), time(), WallclockTimer(), and WallclockTimer(). ◆ usec
microseconds Definition at line 46 of file wallclocktimer.h. Referenced by operator=(), reset(), start(), stop(), time(), WallclockTimer(), and WallclockTimer().
|