Struct framehop::CacheStats
source · pub struct CacheStats {
pub hit_count: u64,
pub miss_empty_slot_count: u64,
pub miss_wrong_modules_count: u64,
pub miss_wrong_address_count: u64,
}
Expand description
Statistics about the effectiveness of the rule cache.
Fields§
§hit_count: u64
The number of successful cache hits.
miss_empty_slot_count: u64
The number of cache misses that were due to an empty slot.
miss_wrong_modules_count: u64
The number of cache misses that were due to a filled slot whose module generation didn’t match the unwinder’s current module generation. (This means that either the unwinder’s modules have changed since the rule in this slot was stored, or the same cache is used with multiple unwinders and the unwinders are stomping on each other’s cache slots.)
miss_wrong_address_count: u64
The number of cache misses that were due to cache slot collisions of different addresses.
Implementations§
Trait Implementations§
source§impl Clone for CacheStats
impl Clone for CacheStats
source§fn clone(&self) -> CacheStats
fn clone(&self) -> CacheStats
Returns a copy 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 CacheStats
impl Debug for CacheStats
source§impl Default for CacheStats
impl Default for CacheStats
source§fn default() -> CacheStats
fn default() -> CacheStats
Returns the “default value” for a type. Read more
impl Copy for CacheStats
Auto Trait Implementations§
impl RefUnwindSafe for CacheStats
impl Send for CacheStats
impl Sync for CacheStats
impl Unpin for CacheStats
impl UnwindSafe for CacheStats
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