pub struct AnalysisStats {
pub total_frames: u64,
pub complete_frames: u64,
pub sync_gaps: u64,
pub partial_clears: u64,
pub bytes_total: usize,
pub bytes_in_sync: usize,
}Expand description
Statistics from analysis.
Fields§
§total_frames: u64Total frames started.
complete_frames: u64Frames that completed (had matching end).
sync_gaps: u64Number of sync gap events.
partial_clears: u64Number of partial clear events.
bytes_total: usizeTotal bytes processed.
bytes_in_sync: usizeBytes within sync brackets.
Implementations§
Source§impl AnalysisStats
impl AnalysisStats
Sourcepub fn is_flicker_free(&self) -> bool
pub fn is_flicker_free(&self) -> bool
Returns true if no flicker-inducing events were detected.
Sourcepub fn sync_coverage(&self) -> f64
pub fn sync_coverage(&self) -> f64
Percentage of bytes within sync brackets.
Trait Implementations§
Source§impl Clone for AnalysisStats
impl Clone for AnalysisStats
Source§fn clone(&self) -> AnalysisStats
fn clone(&self) -> AnalysisStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AnalysisStats
impl Debug for AnalysisStats
Source§impl Default for AnalysisStats
impl Default for AnalysisStats
Source§fn default() -> AnalysisStats
fn default() -> AnalysisStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AnalysisStats
impl RefUnwindSafe for AnalysisStats
impl Send for AnalysisStats
impl Sync for AnalysisStats
impl Unpin for AnalysisStats
impl UnsafeUnpin for AnalysisStats
impl UnwindSafe for AnalysisStats
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