pub struct CgroupReading {
pub name: String,
pub cpu_cores: Option<f64>,
pub mem_bytes: Option<f64>,
pub io: Vec<CgroupIoRate>,
}Expand description
What one control group did over a sample window.
Fields§
§name: String§cpu_cores: Option<f64>CPU time over wall time: 1.0 is one core kept busy.
mem_bytes: Option<f64>§io: Vec<CgroupIoRate>Each device that is in both readings.
Trait Implementations§
Source§impl Clone for CgroupReading
impl Clone for CgroupReading
Source§impl Debug for CgroupReading
impl Debug for CgroupReading
Source§impl PartialEq for CgroupReading
impl PartialEq for CgroupReading
impl StructuralPartialEq for CgroupReading
Auto Trait Implementations§
impl Forget for CgroupReading
impl Freeze for CgroupReading
impl Move for CgroupReading
impl RefUnwindSafe for CgroupReading
impl Send for CgroupReadingwhere
RawVecInner: Send,
impl Sync for CgroupReadingwhere
RawVecInner: Sync,
impl Unpin for CgroupReading
impl UnsafeUnpin for CgroupReadingwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<CgroupIoRate>: UnsafeUnpin,
impl UnwindSafe for CgroupReadingwhere
RawVecInner: UnwindSafe,
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