void thread_sleep_end() { _sleep_timer.stop(); check_and_reset_timer(); }
void contended_enter_end() { _contended_enter_timer.stop(); check_and_reset_timer(); }
void monitor_wait_end() { _monitor_wait_timer.stop(); check_and_reset_timer(); }
// Activation void suspend() { if (_active) _t.stop(); }
inline ~PerfTraceTime() { if (!UsePerfData || (_recursion_counter != NULL && --(*_recursion_counter) > 0)) return; _t.stop(); _timerp->inc(_t.ticks()); }
inline void suspend() { if (!UsePerfData) return; _t.stop(); }
GCPauseTimer(elapsedTimer* timer) { _timer = timer; _timer->stop(); }