pub struct ProcReading {
pub name: String,
pub cpu_cores: f64,
pub rss_bytes: f64,
pub threads: f64,
pub io_bytes_per_s: Option<(f64, f64)>,
}Expand description
What one process did over a sample window.
Fields§
§name: String§cpu_cores: f64CPU time over wall time: 1.0 is one core kept busy.
rss_bytes: f64§threads: f64§io_bytes_per_s: Option<(f64, f64)>(read, write) bytes per second, when /proc/<pid>/io is readable.
Trait Implementations§
Source§impl Clone for ProcReading
impl Clone for ProcReading
Source§impl Debug for ProcReading
impl Debug for ProcReading
Source§impl PartialEq for ProcReading
impl PartialEq for ProcReading
impl StructuralPartialEq for ProcReading
Auto Trait Implementations§
impl Forget for ProcReading
impl Freeze for ProcReading
impl Move for ProcReading
impl RefUnwindSafe for ProcReading
impl Send for ProcReadingwhere
RawVecInner: Send,
impl Sync for ProcReadingwhere
RawVecInner: Sync,
impl Unpin for ProcReading
impl UnsafeUnpin for ProcReading
impl UnwindSafe for ProcReadingwhere
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