Struct wait4::ResourceUsage[][src]

pub struct ResourceUsage {
    pub utime: Duration,
    pub stime: Duration,
    pub maxrss: u64,
}
Expand description

Resources used by a process

Fields

utime: Duration

User CPU time used

Time spent in user-mode

stime: Duration

System CPU time used

Time spent in kernel-mode

maxrss: u64

Maximum resident set size

Expressed in bytes when available.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.