#include <trueClock.h>
Public Member Functions | |
double | get_long_time () const |
double | get_short_time () const |
Static Public Member Functions | |
TrueClock * | get_ptr () |
Returns a pointer to the one TrueClock object in the world. | |
Protected Member Functions | |
TrueClock () | |
~TrueClock () | |
A protected destructor because no one should try to delete the global TrueClock. | |
Static Protected Attributes | |
TrueClock * | _global_ptr = NULL |
There is only one TrueClock in existence, and it constructs itself.
The TrueClock returns elapsed real time in seconds since some undefined epoch. Since it is not defined at what time precisely the clock indicates zero, this value can only be meaningfully used to measure elapsed time, by sampling it at two different times and subtracting.
Definition at line 55 of file trueClock.h.
|
Definition at line 295 of file trueClock.cxx. References _init_sec. |
|
A protected destructor because no one should try to delete the global TrueClock.
Definition at line 51 of file trueClock.I. |
|
Definition at line 247 of file trueClock.cxx. Referenced by ClockObject::get_frame_time(). |
|
Returns a pointer to the one TrueClock object in the world.
Definition at line 33 of file trueClock.I. References INLINE. Referenced by ProfileTimer::on(). |
|
Definition at line 271 of file trueClock.cxx. Referenced by ProfileTimer::on(). |
|
Definition at line 29 of file trueClock.cxx. |