[−][src]Struct psutil::cpu::CpuTimesPercent
Every attribute represents the percentage of time the CPU has spent in the given mode.
Methods
impl CpuTimesPercent
[src]
pub fn user(&self) -> Percent
[src]
Time spent by normal processes executing in user mode; on Linux this also includes guest time.
pub fn system(&self) -> Percent
[src]
Time spent by processes executing in kernel mode.
pub fn idle(&self) -> Percent
[src]
Time spent doing nothing.
pub fn busy(&self) -> Percent
[src]
New method, not in Python psutil.
Trait Implementations
impl Clone for CpuTimesPercent
[src]
fn clone(&self) -> CpuTimesPercent
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl CpuTimesPercentExt for CpuTimesPercent
[src]
fn iowait(&self) -> Percent
[src]
fn irq(&self) -> Percent
[src]
fn softirq(&self) -> Percent
[src]
fn steal(&self) -> Option<Percent>
[src]
fn guest(&self) -> Option<Percent>
[src]
fn guest_nice(&self) -> Option<Percent>
[src]
impl CpuTimesPercentExt for CpuTimesPercent
[src]
impl Debug for CpuTimesPercent
[src]
impl Default for CpuTimesPercent
[src]
fn default() -> CpuTimesPercent
[src]
impl From<CpuTimes> for CpuTimesPercent
[src]
impl PartialEq<CpuTimesPercent> for CpuTimesPercent
[src]
fn eq(&self, other: &CpuTimesPercent) -> bool
[src]
fn ne(&self, other: &CpuTimesPercent) -> bool
[src]
impl StructuralPartialEq for CpuTimesPercent
[src]
Auto Trait Implementations
impl RefUnwindSafe for CpuTimesPercent
impl Send for CpuTimesPercent
impl Sync for CpuTimesPercent
impl Unpin for CpuTimesPercent
impl UnwindSafe for CpuTimesPercent
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,