pub struct MemoryAccessStats {
pub read_count: u64,
pub write_count: u64,
pub avg_read_size: usize,
pub avg_write_size: usize,
pub last_access: Instant,
pub pattern_type: AccessPatternType,
}Expand description
Memory access pattern statistics
Fields§
§read_count: u64Total number of reads
write_count: u64Total number of writes
avg_read_size: usizeAverage read size
avg_write_size: usizeAverage write size
last_access: InstantLast access timestamp
pattern_type: AccessPatternTypeAccess pattern type (detected)
Trait Implementations§
Source§impl Clone for MemoryAccessStats
impl Clone for MemoryAccessStats
Source§fn clone(&self) -> MemoryAccessStats
fn clone(&self) -> MemoryAccessStats
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 moreAuto Trait Implementations§
impl Freeze for MemoryAccessStats
impl RefUnwindSafe for MemoryAccessStats
impl Send for MemoryAccessStats
impl Sync for MemoryAccessStats
impl Unpin for MemoryAccessStats
impl UnsafeUnpin for MemoryAccessStats
impl UnwindSafe for MemoryAccessStats
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