示例#1
0
 void contended_enter_begin()             { check_and_reset_timer(); _contended_enter_timer.start(); }
示例#2
0
 void monitor_wait_begin()                { check_and_reset_timer(); _monitor_wait_timer.start(); }
示例#3
0
 void thread_sleep_begin()                { check_and_reset_timer(); _sleep_timer.start(); }
示例#4
0
 void resume()   { if (_active) _t.start(); }
示例#5
0
 inline void resume() { if (!UsePerfData) return; _t.start(); }
示例#6
0
 inline PerfTraceTime(PerfLongCounter* timerp, int* recursion_counter) : _timerp(timerp), _recursion_counter(recursion_counter) {
   if (!UsePerfData || (_recursion_counter != NULL &&
                        (*_recursion_counter)++ > 0)) return;
   _t.start();
 }
示例#7
0
 inline PerfTraceTime(PerfLongCounter* timerp) : _timerp(timerp), _recursion_counter(NULL) {
   if (!UsePerfData) return;
   _t.start();
 }
 ~GCPauseTimer() {
   _timer->start();
 }