12 INLINE
void ProfileTimer::
18 INLINE
double ProfileTimer::
21 double et=_elapsedTime+=time-_on;
28 INLINE
void ProfileTimer::
29 mark(
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 ***";
45 INLINE
void ProfileTimer::
48 _elapsedTime+=time-_on;
52 INLINE
void ProfileTimer::
53 off(
const char* tag) {
55 _elapsedTime+=time-_on;
60 INLINE ProfileTimer::AutoTimer::
66 --_profile._autoTimerCount;
static TrueClock * get_global_ptr()
Returns a pointer to the one TrueClock object in the world.