pub struct PoolUtilization {
pub cpu_id: CpuId,
pub small_pool_size: usize,
pub medium_pool_size: usize,
pub large_pool_size: usize,
pub thread_pool_size: usize,
pub sync_pool_size: usize,
pub total_allocations: u64,
pub total_deallocations: u64,
pub cache_hit_ratio: f64,
pub contention_ratio: f64,
}
Expand description
Per-CPU pool utilization statistics.
Fields§
§cpu_id: CpuId
§small_pool_size: usize
§medium_pool_size: usize
§large_pool_size: usize
§thread_pool_size: usize
§sync_pool_size: usize
§total_allocations: u64
§total_deallocations: u64
§cache_hit_ratio: f64
§contention_ratio: f64
Trait Implementations§
Source§impl Clone for PoolUtilization
impl Clone for PoolUtilization
Source§fn clone(&self) -> PoolUtilization
fn clone(&self) -> PoolUtilization
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 PoolUtilization
impl RefUnwindSafe for PoolUtilization
impl Send for PoolUtilization
impl Sync for PoolUtilization
impl Unpin for PoolUtilization
impl UnwindSafe for PoolUtilization
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