pub struct TreeUsage {
pub rss_bytes: u64,
pub cpu_time: Duration,
pub processes: u32,
}Expand description
One look at a process tree.
Fields§
§rss_bytes: u64Resident memory of every process in the tree, summed.
cpu_time: DurationCPU time the tree has used, summed.
processes: u32How many processes the tree held.
Trait Implementations§
impl Copy for TreeUsage
impl Eq for TreeUsage
impl StructuralPartialEq for TreeUsage
Auto Trait Implementations§
impl Forget for TreeUsage
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