[][src]Struct psutil::cpu::CpuTimes

pub struct CpuTimes {
    pub user: u64,
    pub nice: u64,
    pub system: u64,
    pub idle: u64,
    pub iowait: u64,
    pub irq: u64,
    pub softirq: u64,
    pub steal: u64,
    pub guest: u64,
    pub guest_nice: u64,
}

Fields

user: u64

Time spent by normal processes executing in user mode; on Linux this also includes guest time

nice: u64

Time spent by niced (prioritized) processes executing in user mode; on Linux this also includes guest_nice time

system: u64

Time spent by processes executing in kernel mode

idle: u64

Time spent doing nothing

iowait: u64

Time spent waiting for I/O to complete

irq: u64

Time spent for servicing hardware interrupts

softirq: u64

Time spent for servicing software interrupts

steal: u64

Time spent by other operating systems running in a virtualized environment

guest: u64

Time spent running a virtual CPU for guest operating systems under the control of the Linux kernel

guest_nice: u64

Time spent running a niced guest (virtual CPU for guest operating systems under the control of the Linux kernel)

Trait Implementations

impl Clone for CpuTimes[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for CpuTimes[src]

Auto Trait Implementations

impl Send for CpuTimes

impl Sync for CpuTimes

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]