pub struct RUsage {Show 16 fields
pub utime: Duration,
pub stime: Duration,
pub maxrss: usize,
pub ixrss: usize,
pub idrss: usize,
pub isrss: usize,
pub minflt: usize,
pub majflt: usize,
pub nswap: usize,
pub inblock: usize,
pub oublock: usize,
pub msgsnd: usize,
pub msgrcv: usize,
pub nsignals: usize,
pub nvcsw: usize,
pub nivcsw: usize,
}Expand description
Resource usage statistics for a process.
Fields§
§utime: DurationUser CPU time used.
stime: DurationSystem CPU time used.
maxrss: usizeMaximum resident set size.
ixrss: usizeIntegral shared memory size.
idrss: usizeIntegral unshared data size.
isrss: usizeIntegral unshared stack size.
minflt: usizePage reclaims (soft page faults).
majflt: usizePage faults (hard page faults).
nswap: usizeSwaps.
inblock: usizeBlock input operations.
oublock: usizeBlock output operations.
msgsnd: usizeIPC messages sent.
msgrcv: usizeIPC messages received.
nsignals: usizeSignals received.
nvcsw: usizeVoluntary context switches.
nivcsw: usizeInvoluntary context switches.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RUsage
impl RefUnwindSafe for RUsage
impl Send for RUsage
impl Sync for RUsage
impl Unpin for RUsage
impl UnwindSafe for RUsage
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