pub struct ManagementStats {
pub gc_collections: u64,
pub objects_collected: u64,
pub bytes_freed_by_gc: u64,
pub prefetch_requests: u64,
pub prefetch_hits: u64,
pub prefetch_accuracy: f64,
pub evictions_performed: u64,
pub bytes_evicted: u64,
pub defragmentation_cycles: u64,
pub fragmentation_reduced: usize,
pub total_management_time: Duration,
pub memory_pressure_events: u64,
}Expand description
Memory management statistics
Fields§
§gc_collections: u64§objects_collected: u64§bytes_freed_by_gc: u64§prefetch_requests: u64§prefetch_hits: u64§prefetch_accuracy: f64§evictions_performed: u64§bytes_evicted: u64§defragmentation_cycles: u64§fragmentation_reduced: usize§total_management_time: Duration§memory_pressure_events: u64Trait Implementations§
Source§impl Clone for ManagementStats
impl Clone for ManagementStats
Source§fn clone(&self) -> ManagementStats
fn clone(&self) -> ManagementStats
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 ManagementStats
impl Debug for ManagementStats
Source§impl Default for ManagementStats
impl Default for ManagementStats
Source§fn default() -> ManagementStats
fn default() -> ManagementStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ManagementStats
impl RefUnwindSafe for ManagementStats
impl Send for ManagementStats
impl Sync for ManagementStats
impl Unpin for ManagementStats
impl UnsafeUnpin for ManagementStats
impl UnwindSafe for ManagementStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more