12INLINE
void ProfileTimer::
18INLINE
double ProfileTimer::
21 double et=_elapsedTime+=time-_on;
28INLINE
void ProfileTimer::
29mark(
const char* tag) {
31 std::cerr <<
"ProfileTimer::mark !_entries" << std::endl;
34 if (_entryCount < _maxEntries-1) {
35 TimerEntry& p=_entries[_entryCount];
40 _entries[_entryCount]._tag=
"*** Overflow ***";
45INLINE
void ProfileTimer::
48 _elapsedTime+=time-_on;
52INLINE
void ProfileTimer::
55 _elapsedTime+=time-_on;
60INLINE ProfileTimer::AutoTimer::
66 --_profile._autoTimerCount;
static TrueClock * get_global_ptr()
Returns a pointer to the one TrueClock object in the world.