pub struct Cpu {
pub utime_total: Duration,
pub stime_total: Duration,
pub real_time_total: Duration,
pub virtual_time_total: Duration,
}
Expand description
Staticstics related to CPU time
Fields§
§utime_total: Duration
User CPU time
stime_total: Duration
System CPU time
real_time_total: Duration
Wall-clock running time
virtual_time_total: Duration
Virtual running time
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Cpu
impl RefUnwindSafe for Cpu
impl Send for Cpu
impl Sync for Cpu
impl Unpin for Cpu
impl UnwindSafe for Cpu
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