MCPcopy Create free account
hub / github.com/Snapchat/Valdi / onNextTick

Method onNextTick

valdi/src/valdi/runtime/JavaScript/JavaScriptANRDetector.cpp:112–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110 }
111 _isInForeground = true;
112 scheduleNextTick();
113}
114
115// Must be called with _mutex held. A syn probe that was in flight when monitoring paused is
116// measured against a clock that keeps advancing while the process is suspended (steady_clock does
117// not stop with the app), so evaluating it on the first tick after resume would report time the
118// app never spent running as a spurious unattributed ANR. Slide the probe's deadline so it gets a

Callers 1

waitForNextTickMethod · 0.80

Calls

no outgoing calls

Tested by 1

waitForNextTickMethod · 0.64