markRouteEpoch method
void
markRouteEpoch()
Starts a new jank window at the current frame and removes the
sustained_jank / jank_detected issues computed on the previous
window. Frames already in the buffer stay there (FPS, verdicts and
exports still read them) but no longer count toward jank. Warmup,
lifecycle phase and cache-trend state are untouched; reset is the
full clear.
Implementation
void markRouteEpoch() {
_routeEpochFrameNumber = _totalFramesSeen;
_issues.removeWhere(
(i) => i.stableId == 'sustained_jank' || i.stableId == 'jank_detected',
);
}