Skip to main content

PRESENT_MIN_TICKS

Constant PRESENT_MIN_TICKS 

Source
pub const PRESENT_MIN_TICKS: u64 = 1;
Expand description

Minimum scheduler ticks between two throttled presents, shared by the VGA console writer and the video driver.

TIMER_HZ is 100 (one tick = 10 ms): allow one present per tick so pending console work is eligible within 10 ms. Paths that pace themselves (the userspace compositor, Framebuffer::swap_buffers) bypass this gate.