pub enum ChildMemoryKind {
PhysFootprint,
ResidentSet,
Unknown(String),
}Expand description
What ChildResourceReading::memory_bytes measures.
Variants§
PhysFootprint
macOS phys_footprint: memory the kernel charges to the process,
the figure jetsam acts on. Unlike resident size it does not count
pages an allocator has already released with MADV_FREE.
ResidentSet
Linux VmRSS: pages resident in RAM, shared file-backed pages
included and swapped-out pages excluded.
Unknown(String)
Trait Implementations§
Source§impl Clone for ChildMemoryKind
impl Clone for ChildMemoryKind
Source§impl Debug for ChildMemoryKind
impl Debug for ChildMemoryKind
Source§impl<'de> Deserialize<'de> for ChildMemoryKind
impl<'de> Deserialize<'de> for ChildMemoryKind
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 ChildMemoryKind
Source§impl PartialEq for ChildMemoryKind
impl PartialEq for ChildMemoryKind
Source§impl Serialize for ChildMemoryKind
impl Serialize for ChildMemoryKind
impl StructuralPartialEq for ChildMemoryKind
Auto Trait Implementations§
impl Freeze for ChildMemoryKind
impl RefUnwindSafe for ChildMemoryKind
impl Send for ChildMemoryKind
impl Sync for ChildMemoryKind
impl Unpin for ChildMemoryKind
impl UnsafeUnpin for ChildMemoryKind
impl UnwindSafe for ChildMemoryKind
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