Skip to main content

SHORT_SLEEP_NS

Constant SHORT_SLEEP_NS 

Source
const SHORT_SLEEP_NS: u64 = _; // 32_000_000u64
Expand description

Short-sleep boost window. Periodic wakeup cadences such as the 60 Hz frame interval stay interactive. The per-task boost rate limit bounds the churn. The value is set against the slowest common cadence, so faster refresh rates, which sleep less per frame, fall inside the window as well.