pub struct Stats {
pub events: u32,
pub kicks: u32,
pub leased_skips: u32,
pub stalls: u32,
pub spurious: u32,
}Expand description
Counters, for tools and for tests.
Fields§
§events: u32Interrupts the engine handled (ACK and deadline).
kicks: u32VBlanks that started a round of transactions.
leased_skips: u32VBlanks skipped because the port was leased out.
stalls: u32Rounds abandoned because the previous one was still running at the next VBlank: a round is under a millisecond and a half on the wire, so an interrupt was lost.
spurious: u32/ACK interrupts that arrived with no byte waiting for one.
Trait Implementations§
impl Copy for Stats
impl Eq for Stats
impl StructuralPartialEq for Stats
Auto Trait Implementations§
impl Freeze for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnsafeUnpin for Stats
impl UnwindSafe for Stats
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)