Struct procfs::MemoryPressure
source · pub struct MemoryPressure {
pub some: PressureRecord,
pub full: PressureRecord,
}
Expand description
Memory pressure information
Fields§
§some: PressureRecord
This record indicates the share of time in which at least some tasks are stalled
full: PressureRecord
This record indicates this share of time in which all non-idle tasks are stalled simultaneously.
Implementations§
source§impl MemoryPressure
impl MemoryPressure
sourcepub fn new() -> ProcResult<MemoryPressure>
pub fn new() -> ProcResult<MemoryPressure>
Get memory pressure information
Trait Implementations§
source§impl Clone for MemoryPressure
impl Clone for MemoryPressure
source§fn clone(&self) -> MemoryPressure
fn clone(&self) -> MemoryPressure
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more