Skip to main content

thermal_tick

Function thermal_tick 

Source
pub fn thermal_tick()
Expand description

Periodic thermal check for the decode hot path — samples a RESIDENT NVML governor and, per the auto-cap user option, enforces (sustained Critical → apply the recommended cap; cooled → restore) or recommends. Cheap (an NVML read); call every N decode tokens. No-op when the nvml feature is off or NVML/the driver is unavailable. The resident governor keeps the auto-cap hysteresis state (Critical streak, capped flag, saved limit) across ticks.