15 INLINE
void ProfileTimer::
21 INLINE
double ProfileTimer::
24 double et=_elapsedTime+=time-_on;
31 INLINE
void ProfileTimer::
32 mark(
const char* tag) {
34 cerr <<
"ProfileTimer::mark !_entries" << endl;
37 if (_entryCount < _maxEntries-1) {
38 TimerEntry& p=_entries[_entryCount];
43 _entries[_entryCount]._tag=
"*** Overflow ***";
48 INLINE
void ProfileTimer::
51 _elapsedTime+=time-_on;
55 INLINE
void ProfileTimer::
56 off(
const char* tag) {
58 _elapsedTime+=time-_on;
63 INLINE ProfileTimer::AutoTimer::
69 --_profile._autoTimerCount;
static TrueClock * get_global_ptr()
Returns a pointer to the one TrueClock object in the world.