pub struct SystemMemoryStats {
pub per_cpu_pools: usize,
pub total_allocations: u64,
pub total_deallocations: u64,
pub cache_hit_ratio: f64,
pub cross_cpu_allocations: u64,
pub emergency_allocations: u64,
}
Expand description
System-wide memory pool statistics.
Fields§
§per_cpu_pools: usize
§total_allocations: u64
§total_deallocations: u64
§cache_hit_ratio: f64
§cross_cpu_allocations: u64
§emergency_allocations: u64
Trait Implementations§
Source§impl Clone for SystemMemoryStats
impl Clone for SystemMemoryStats
Source§fn clone(&self) -> SystemMemoryStats
fn clone(&self) -> SystemMemoryStats
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 SystemMemoryStats
impl RefUnwindSafe for SystemMemoryStats
impl Send for SystemMemoryStats
impl Sync for SystemMemoryStats
impl Unpin for SystemMemoryStats
impl UnwindSafe for SystemMemoryStats
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