pub struct CacheHashDataStats {Show 14 fields
pub cache_file_size: usize,
pub cache_file_count: usize,
pub total_entries: usize,
pub loaded_from_cache: usize,
pub entries_loaded_from_cache: usize,
pub save_us: u64,
pub saved_to_cache: usize,
pub write_to_mmap_us: u64,
pub create_save_us: u64,
pub load_us: u64,
pub read_us: u64,
pub decode_us: u64,
pub merge_us: u64,
pub unused_cache_files: usize,
}
Fields§
§cache_file_size: usize
§cache_file_count: usize
§total_entries: usize
§loaded_from_cache: usize
§entries_loaded_from_cache: usize
§save_us: u64
§saved_to_cache: usize
§write_to_mmap_us: u64
§create_save_us: u64
§load_us: u64
§read_us: u64
§decode_us: u64
§merge_us: u64
§unused_cache_files: usize
Implementations§
source§impl CacheHashDataStats
impl CacheHashDataStats
pub fn accumulate(&mut self, other: &CacheHashDataStats)
pub fn report(&self)
Trait Implementations§
source§impl Debug for CacheHashDataStats
impl Debug for CacheHashDataStats
source§impl Default for CacheHashDataStats
impl Default for CacheHashDataStats
source§fn default() -> CacheHashDataStats
fn default() -> CacheHashDataStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for CacheHashDataStats
impl Send for CacheHashDataStats
impl Sync for CacheHashDataStats
impl Unpin for CacheHashDataStats
impl UnwindSafe for CacheHashDataStats
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