pub struct PressureRecord {
pub avg10: f32,
pub avg60: f32,
pub avg300: f32,
pub total: u64,
}Expand description
Pressure stall information for either CPU, memory, or IO.
See also: https://www.kernel.org/doc/Documentation/accounting/psi.txt
Fields§
§avg10: f3210 second window
The percentage of time, over a 10 second window, that either some or all tasks were stalled waiting for a resource.
avg60: f3260 second window
The percentage of time, over a 60 second window, that either some or all tasks were stalled waiting for a resource.
avg300: f32300 second window
The percentage of time, over a 300 second window, that either some or all tasks were stalled waiting for a resource.
total: u64Total stall time (in microseconds).
Trait Implementations§
Source§impl Clone for PressureRecord
impl Clone for PressureRecord
Source§fn clone(&self) -> PressureRecord
fn clone(&self) -> PressureRecord
Returns a duplicate 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 moreSource§impl Debug for PressureRecord
impl Debug for PressureRecord
Source§impl<'de> Deserialize<'de> for PressureRecord
impl<'de> Deserialize<'de> for PressureRecord
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
Auto Trait Implementations§
impl Freeze for PressureRecord
impl RefUnwindSafe for PressureRecord
impl Send for PressureRecord
impl Sync for PressureRecord
impl Unpin for PressureRecord
impl UnwindSafe for PressureRecord
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