pub struct PacingReport {
pub presented_frames: u64,
pub untimed_frames: u64,
pub estimated_cadence: Option<Duration>,
pub recent_intervals: Option<IntervalSummary>,
pub missed_intervals: u64,
}Expand description
A point-in-time summary of presentation pacing.
Fields§
§presented_frames: u64Presented frames recorded, timed and untimed.
untimed_frames: u64Presented frames that carried no display time.
estimated_cadence: Option<Duration>Median-of-window cadence estimate, once enough intervals exist.
recent_intervals: Option<IntervalSummary>Distribution of the retained recent intervals, once any interval exists.
missed_intervals: u64Intervals that exceeded 1.5 times the running cadence estimate.
Trait Implementations§
Source§impl Clone for PacingReport
impl Clone for PacingReport
Source§fn clone(&self) -> PacingReport
fn clone(&self) -> PacingReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PacingReport
Source§impl Debug for PacingReport
impl Debug for PacingReport
Source§impl Display for PacingReport
impl Display for PacingReport
impl Eq for PacingReport
Source§impl PartialEq for PacingReport
impl PartialEq for PacingReport
impl StructuralPartialEq for PacingReport
Auto Trait Implementations§
impl Freeze for PacingReport
impl RefUnwindSafe for PacingReport
impl Send for PacingReport
impl Sync for PacingReport
impl Unpin for PacingReport
impl UnsafeUnpin for PacingReport
impl UnwindSafe for PacingReport
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more