pub struct PerformanceCounters {Show 15 fields
pub get_operations: AtomicU64,
pub put_operations: AtomicU64,
pub remove_operations: AtomicU64,
pub eviction_operations: AtomicU64,
pub total_get_latency_us: AtomicU64,
pub total_put_latency_us: AtomicU64,
pub total_remove_latency_us: AtomicU64,
pub total_eviction_latency_us: AtomicU64,
pub hit_count: AtomicU64,
pub miss_count: AtomicU64,
pub total_bytes_allocated: AtomicU64,
pub peak_memory_usage: AtomicU64,
pub current_memory_usage: AtomicU64,
pub disk_bytes_read: AtomicU64,
pub disk_bytes_written: AtomicU64,
}Expand description
Real-time performance counters
Fields§
§get_operations: AtomicU64Total get operations
put_operations: AtomicU64Total put operations
remove_operations: AtomicU64Total remove operations
eviction_operations: AtomicU64Total eviction operations
total_get_latency_us: AtomicU64Total get latency (microseconds)
total_put_latency_us: AtomicU64Total put latency (microseconds)
total_remove_latency_us: AtomicU64Total remove latency (microseconds)
total_eviction_latency_us: AtomicU64Total eviction latency (microseconds)
hit_count: AtomicU64Cache hit count
miss_count: AtomicU64Cache miss count
total_bytes_allocated: AtomicU64Total bytes allocated (cumulative)
peak_memory_usage: AtomicU64Peak memory usage
current_memory_usage: AtomicU64Current memory usage
disk_bytes_read: AtomicU64Total bytes read from disk
disk_bytes_written: AtomicU64Total bytes written to disk
Trait Implementations§
Source§impl Debug for PerformanceCounters
impl Debug for PerformanceCounters
Auto Trait Implementations§
impl !Freeze for PerformanceCounters
impl RefUnwindSafe for PerformanceCounters
impl Send for PerformanceCounters
impl Sync for PerformanceCounters
impl Unpin for PerformanceCounters
impl UnsafeUnpin for PerformanceCounters
impl UnwindSafe for PerformanceCounters
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