pub struct TreeUsage {
pub processes: usize,
pub resident_bytes: u64,
pub unreadable: usize,
}Expand description
Resident memory summed over one remembered process and the descendants found while it lived. Members are counted only while their pid-plus-start-time identity still verifies after the table snapshot, so a pid recycled during the scan contributes nothing.
Fields§
§processes: usizeThe root plus descendants that were still the remembered processes at recheck.
resident_bytes: u64Summed resident (working-set) bytes of the members the OS reported a figure for.
unreadable: usizeMembers still present but with no readable resident figure.
Trait Implementations§
impl Copy for TreeUsage
impl Eq for TreeUsage
impl StructuralPartialEq for TreeUsage
Auto Trait Implementations§
impl Freeze for TreeUsage
impl RefUnwindSafe for TreeUsage
impl Send for TreeUsage
impl Sync for TreeUsage
impl Unpin for TreeUsage
impl UnsafeUnpin for TreeUsage
impl UnwindSafe for TreeUsage
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