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: f32
10 second window
The percentage of time, over a 10 second window, that either some or all tasks were stalled waiting for a resource.
avg60: f32
60 second window
The percentage of time, over a 60 second window, that either some or all tasks were stalled waiting for a resource.
avg300: f32
300 second window
The percentage of time, over a 300 second window, that either some or all tasks were stalled waiting for a resource.
total: u64
Total 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 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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)