Expand description
M-RECP.2 / AUT-263 — Frame-rate budget instrumentation.
FrameRateMonitor keeps a sliding window of frame timestamps and
emits a tracing::warn! when the sustained fps drops below a
threshold. Hysteresis (separate low / high thresholds) prevents
log spam when fps oscillates near the boundary.
Wired into M-CAM.3’s frame pipeline once the pipeline lands.
Structs§
- Frame
Rate Monitor - Sliding-window frame-rate monitor.
Enums§
- Transition
- Threshold-crossing event from
FrameRateMonitor::observe.
Constants§
- RECOVER_
THRESHOLD_ FPS - Default recovery threshold — clear the warn state when fps returns above 26 (hysteresis prevents log spam).
- WARN_
THRESHOLD_ FPS - Default warn threshold — emit when sustained fps drops below 24.