Skip to main content

FRAME_HISTORY

Constant FRAME_HISTORY 

Source
pub const FRAME_HISTORY: usize = 120;
Expand description

How many frames PerfOverlayApp’s internal FrameStats remembers.

About two seconds at 60fps. Not configurable per instance: pick a bigger window by building a FrameStats directly and rendering it through a custom PerfRenderer closure instead of PerfOverlayApp, if a specific app genuinely needs one.