pub fn frame_duration() -> f64
Frame duration in seconds averaged over a number of frames to smooth out any jittering spikes