pub struct TreeReading {
pub cpu_ms: u64,
pub memory_bytes: u64,
pub memory_kind: ChildMemoryKind,
pub process_count: u64,
pub source: TreeSource,
pub bound: Option<ResourceBound>,
pub groups: Vec<ProcessGroup>,
}Expand description
Cumulative CPU and current memory of a module and its descendants.
Fields§
§cpu_ms: u64§memory_bytes: u64§memory_kind: ChildMemoryKind§process_count: u64§source: TreeSource§bound: Option<ResourceBound>Absent means exact. Memory and process count are not CPU bounds.
groups: Vec<ProcessGroup>Absent means no program groups. Unreadable members invalidate the whole reading instead of being represented by an empty collection.
Trait Implementations§
Source§impl Clone for TreeReading
impl Clone for TreeReading
Source§impl Debug for TreeReading
impl Debug for TreeReading
Source§impl<'de> Deserialize<'de> for TreeReading
impl<'de> Deserialize<'de> for TreeReading
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TreeReading
Source§impl PartialEq for TreeReading
impl PartialEq for TreeReading
Source§impl Serialize for TreeReading
impl Serialize for TreeReading
impl StructuralPartialEq for TreeReading
Auto Trait Implementations§
impl Forget for TreeReading
impl Freeze for TreeReading
impl RefUnwindSafe for TreeReading
impl Send for TreeReading
impl Sync for TreeReading
impl Unpin for TreeReading
impl UnsafeUnpin for TreeReading
impl UnwindSafe for TreeReading
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