pub struct SyncStats {
pub passes_after_draw: u64,
pub passes_right_after_draw: u64,
pub flushes: u64,
pub gated: u64,
}Expand description
Counters for the flush switch (diagnostics).
Fields§
§passes_after_draw: u64Flush blocks that ran (at most one per drawn frame).
passes_right_after_draw: u64Of those, blocks that ran within 4 ms of the last place (i.e. right
after the host’s redraw, as intended).
flushes: u64Flushes done.
gated: u64Passes held back by the start gate.
Trait Implementations§
Auto Trait Implementations§
impl Forget for SyncStats
impl Freeze for SyncStats
impl Move for SyncStats
impl RefUnwindSafe for SyncStats
impl Send for SyncStats
impl Sync for SyncStats
impl Unpin for SyncStats
impl UnsafeUnpin for SyncStats
impl UnwindSafe for SyncStats
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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