Struct linux_taskstats::Cpu
source · 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 RefUnwindSafe for Cpu
impl Send for Cpu
impl Sync for Cpu
impl Unpin for Cpu
impl UnwindSafe for Cpu
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more