pub struct WarmBlockCacheStats {
pub entries_touched: u64,
pub usage_before: usize,
pub usage_after: usize,
pub capacity: usize,
}Expand description
Block-cache occupancy counters for one warm pass.
Fields§
§entries_touched: u64CF entries the pass visited (data + metadata CFs; a superset of what landed in the cache, since the walk stops at the occupancy target).
usage_before: usizeBlock-cache bytes before the pass.
usage_after: usizeBlock-cache bytes after the pass (includes pinned index blocks).
capacity: usizeConfigured block-cache capacity for this DB.
Implementations§
Trait Implementations§
Source§impl Clone for WarmBlockCacheStats
impl Clone for WarmBlockCacheStats
Source§fn clone(&self) -> WarmBlockCacheStats
fn clone(&self) -> WarmBlockCacheStats
Returns a duplicate 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 WarmBlockCacheStats
impl Debug for WarmBlockCacheStats
Source§impl PartialEq for WarmBlockCacheStats
impl PartialEq for WarmBlockCacheStats
impl Copy for WarmBlockCacheStats
impl Eq for WarmBlockCacheStats
impl StructuralPartialEq for WarmBlockCacheStats
Auto Trait Implementations§
impl Freeze for WarmBlockCacheStats
impl RefUnwindSafe for WarmBlockCacheStats
impl Send for WarmBlockCacheStats
impl Sync for WarmBlockCacheStats
impl Unpin for WarmBlockCacheStats
impl UnsafeUnpin for WarmBlockCacheStats
impl UnwindSafe for WarmBlockCacheStats
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