Skip to main content

DEFAULT_FPS

Constant DEFAULT_FPS 

Source
const DEFAULT_FPS: u32 = 50;
Expand description

Default console refresh rate.

TIMER_HZ / 50 = 2 ticks, so a present is due every 2 scheduler ticks. Anything above 50 FPS needs a faster timer: 60+ would compute an interval of 1 tick and run at the 100 Hz timer rate instead.