pub struct FpsStats {Show 21 fields
pub fps: f32,
pub avg_ms: f32,
pub latest_ms: f32,
pub min_ms: f32,
pub max_ms: f32,
pub p95_ms: f32,
pub p99_ms: f32,
pub work_fps: f32,
pub work_avg_ms: f32,
pub work_p95_ms: f32,
pub work_max_ms: f32,
pub work_missed_120hz_budget: u32,
pub work_missed_60hz_budget: u32,
pub work_stalled_50ms_frames: u32,
pub interval_count: u32,
pub missed_120hz_budget: u32,
pub missed_60hz_budget: u32,
pub stalled_50ms_frames: u32,
pub frame_count: u64,
pub recompositions: u64,
pub recomps_per_second: u64,
}Expand description
Frame statistics snapshot.
Fields§
§fps: f32Current presented-frame cadence in frames per second.
avg_ms: f32Average presented-frame interval in milliseconds.
latest_ms: f32Last recorded frame interval in milliseconds.
min_ms: f32Minimum frame interval in the rolling history.
max_ms: f32Maximum frame interval in the rolling history.
p95_ms: f3295th percentile frame interval in the rolling history.
p99_ms: f3299th percentile frame interval in the rolling history.
work_fps: f32AppShell work capacity in frames per second.
work_avg_ms: f32Average measured AppShell frame work in milliseconds.
work_p95_ms: f3295th percentile measured AppShell frame work in milliseconds.
work_max_ms: f32Maximum measured AppShell frame work in milliseconds.
work_missed_120hz_budget: u32Rolling count of measured AppShell work samples above the 120 Hz frame budget.
work_missed_60hz_budget: u32Rolling count of measured AppShell work samples above the 60 Hz frame budget.
work_stalled_50ms_frames: u32Rolling count of measured AppShell work samples above 50 ms.
interval_count: u32Number of frame intervals in the rolling history.
missed_120hz_budget: u32Rolling count of intervals above the 120 Hz frame budget.
missed_60hz_budget: u32Rolling count of intervals above the 60 Hz frame budget.
stalled_50ms_frames: u32Rolling count of intervals above 50 ms.
frame_count: u64Total frame count since monitor creation.
recompositions: u64Recomposition count since the last stats reset.
recomps_per_second: u64Recompositions in the last second.