MCPcopy Create free account
hub / github.com/async-profiler/async-profiler / stopTimer

Method stopTimer

src/profiler.cpp:1474–1480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1472}
1473
1474void Profiler::stopTimer() {
1475 MutexLocker ml(_timer_lock);
1476 if (_timer_id != NULL) {
1477 _timer_id = NULL;
1478 _timer_lock.notify();
1479 }
1480}
1481
1482void Profiler::timerLoop(void* timer_id) {
1483 u64 current_micros = OS::micros();

Callers

nothing calls this directly

Calls 1

notifyMethod · 0.80

Tested by

no test coverage detected