[−][src]Struct cgroups_rs::cpuacct::CpuAcct
Represents the statistics retrieved from the control group.
Fields
stat: StringDivides the time used by the tasks into user time and system time.
usage: u64Total CPU time (in nanoseconds) spent by the tasks.
usage_all: StringTotal CPU time (in nanoseconds) spent by the tasks, broken down by CPU and by whether the
time spent is user time or system time.
An example is as follows:
cpu user system
0 8348363768 0
1 8324369100 0
2 8598185449 0
3 8648262473 0
usage_percpu: StringCPU time (in nanoseconds) spent by the tasks, broken down by each CPU. Times spent in each CPU are separated by a space.
usage_percpu_sys: StringAs for usage_percpu, but the system time spent.
usage_percpu_user: StringAs for usage_percpu, but the user time spent.
usage_sys: u64CPU time (in nanoseconds) spent by the tasks that counted for system time.
usage_user: u64CPU time (in nanoseconds) spent by the tasks that counted for user time.
Auto Trait Implementations
impl RefUnwindSafe for CpuAcct[src]
impl Send for CpuAcct[src]
impl Sync for CpuAcct[src]
impl Unpin for CpuAcct[src]
impl UnwindSafe for CpuAcct[src]
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,
pub 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.
pub 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>,