void contended_enter_begin()             { check_and_reset_timer(); _contended_enter_timer.start(); }
 void monitor_wait_begin()                { check_and_reset_timer(); _monitor_wait_timer.start(); }
 void thread_sleep_begin()                { check_and_reset_timer(); _sleep_timer.start(); }
Exemple #4
0
 void resume()   { if (_active) _t.start(); }
Exemple #5
0
 inline void resume() { if (!UsePerfData) return; _t.start(); }
Exemple #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();
 }
Exemple #7
0
 inline PerfTraceTime(PerfLongCounter* timerp) : _timerp(timerp), _recursion_counter(NULL) {
   if (!UsePerfData) return;
   _t.start();
 }
 ~GCPauseTimer() {
   _timer->start();
 }