pub struct MemoryStatsRegistry {
pub overflow_count: Atomic<u64>,
/* private fields */
}Expand description
Global registry for cross-thread memory statistics
Fields§
§overflow_count: Atomic<u64>Count of threads that couldn’t get a slot
Implementations§
Source§impl MemoryStatsRegistry
impl MemoryStatsRegistry
Sourcepub fn aggregate_stats(&self) -> AggregateMemoryStats
pub fn aggregate_stats(&self) -> AggregateMemoryStats
Get aggregated memory statistics across all threads
Auto Trait Implementations§
impl !Freeze for MemoryStatsRegistry
impl RefUnwindSafe for MemoryStatsRegistry
impl Send for MemoryStatsRegistry
impl Sync for MemoryStatsRegistry
impl Unpin for MemoryStatsRegistry
impl UnsafeUnpin for MemoryStatsRegistry
impl UnwindSafe for MemoryStatsRegistry
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