pub struct Times {
pub self_user: f64,
pub self_system: f64,
pub children_user: f64,
pub children_system: f64,
}Expand description
Set of consumed CPU time
This structure contains four CPU time values, all in seconds.
This structure is returned by System::times.
Fields§
§self_user: f64User CPU time consumed by the current process
self_system: f64System CPU time consumed by the current process
children_user: f64User CPU time consumed by the children of the current process
children_system: f64System CPU time consumed by the children of the current process
Trait Implementations§
impl Copy for Times
impl StructuralPartialEq for Times
Auto Trait Implementations§
impl Freeze for Times
impl RefUnwindSafe for Times
impl Send for Times
impl Sync for Times
impl Unpin for Times
impl UnwindSafe for Times
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more