pub struct SystemStats {Show 13 fields
pub total_allocations: u64,
pub total_deallocations: u64,
pub bytes_allocated: u64,
pub bytes_deallocated: u64,
pub active_allocations: u64,
pub peak_memory_usage: usize,
pub fragmentation_ratio: f64,
pub allocation_efficiency: f64,
pub vendor_stats: UnifiedMemoryStats,
pub allocation_stats: AllocationStats,
pub management_stats: ManagementStats,
pub uptime: Duration,
pub optimization_cycles: u64,
}Expand description
System-wide statistics
Fields§
§total_allocations: u64§total_deallocations: u64§bytes_allocated: u64§bytes_deallocated: u64§active_allocations: u64§peak_memory_usage: usize§fragmentation_ratio: f64§allocation_efficiency: f64§vendor_stats: UnifiedMemoryStats§allocation_stats: AllocationStats§management_stats: ManagementStats§uptime: Duration§optimization_cycles: u64Trait Implementations§
Source§impl Clone for SystemStats
impl Clone for SystemStats
Source§fn clone(&self) -> SystemStats
fn clone(&self) -> SystemStats
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 SystemStats
impl Debug for SystemStats
Source§impl Default for SystemStats
impl Default for SystemStats
Source§fn default() -> SystemStats
fn default() -> SystemStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SystemStats
impl RefUnwindSafe for SystemStats
impl Send for SystemStats
impl Sync for SystemStats
impl Unpin for SystemStats
impl UnwindSafe for SystemStats
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