[−][src]Struct rpsutil::cpu::CpuTime
Struct to represent CPU times. All values are in seconds.
Fields
user: f64
Time spent in user mode.
Linux: also includes guest time.
system: f64
Time spent in system mode.
idle: f64
Time spent in the idle task.
nice: Option<f64>
Time spent in user mode with low priority (nice).
Linux: also includes guest_nice time.
Available: Linux
iowait: Option<f64>
Time spent waiting for I/O to complete.
Available: Linux
irq: Option<f64>
Time spent for servicing hardware interrupts.
Available: Linux
softirq: Option<f64>
Time spent for servicing software interrupts.
Available: Linux
steal: Option<f64>
Time spent by other operating systems running in a virtualized environment.
Available: Linux 2.6.11+
guest: Option<f64>
Time spent running a virtual CPU for guest operating systems under the control of the Linux kernel.
Available: Linux 2.6.24+
guest_nice: Option<f64>
Time spent running a niced guest (virtual CPU for guest operating systems under the control of the Linux kernel).
Available: Linux 3.2.0+
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CpuTime
impl Send for CpuTime
impl Sync for CpuTime
impl Unpin for CpuTime
impl UnwindSafe for CpuTime
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,