pub struct IcStats {
pub mono_hits: [u64; 4],
pub poly_hits: [u64; 4],
pub fills: [u64; 4],
pub unfilled: [u64; 4],
pub site_misses: Vec<u64>,
pub iter_pristine: u64,
pub iter_generic: u64,
}Expand description
Hit and miss counters per cache kind, kept with the ic-stats feature and
in debug builds (so tests can see hits): release builds without the feature
carry no counter.
Fields§
§mono_hits: [u64; 4]Monomorphic hits, by IcKind.
poly_hits: [u64; 4]Hits on the out-of-line probe of a polymorphic row.
fills: [u64; 4]Misses that filled or refilled an entry.
unfilled: [u64; 4]Misses that did not: an accessor, a dictionary, a complete miss, a megamorphic site.
site_misses: Vec<u64>Misses per entry, both kinds.
iter_pristine: u64IterStarts that walked a pristine array by index, and the ones that
ran the protocol.
iter_generic: u64Trait Implementations§
Auto Trait Implementations§
impl Freeze for IcStats
impl RefUnwindSafe for IcStats
impl Send for IcStats
impl Sync for IcStats
impl Unpin for IcStats
impl UnsafeUnpin for IcStats
impl UnwindSafe for IcStats
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