Struct libuv::misc::ResourceUsage

source ·
pub struct ResourceUsage {
Show 16 fields pub usertime: TimeVal, pub systime: TimeVal, pub maxrss: u64, pub ixrss: u64, pub idrss: u64, pub isrss: u64, pub minflt: u64, pub majflt: u64, pub nswap: u64, pub inblock: u64, pub oublock: u64, pub msgsnd: u64, pub msgrcv: u64, pub nsignals: u64, pub nvcsw: u64, pub nivcsw: u64,
}
Expand description

Data type for resource usage results.

Fields§

§usertime: TimeVal

user CPU time used

§systime: TimeVal

system CPU time used

§maxrss: u64

maximum resident set size

§ixrss: u64

integral shared memory size (no Windows support)

§idrss: u64

integral unshared data size (no Windows support)

§isrss: u64

integral unshared stack size (no Windows support)

§minflt: u64

page reclaims (soft page faults) (no Windows support)

§majflt: u64

page faults (hard page faults)

§nswap: u64

swaps (no Windows support)

§inblock: u64

block input operations

§oublock: u64

block output operations

§msgsnd: u64

IPC messages sent (no windows support)

§msgrcv: u64

IPC messages received (no Windows support)

§nsignals: u64

signals received (no Windows support)

§nvcsw: u64

voluntary context switches (no Windows support)

§nivcsw: u64

involuntary context switches (no Windows support)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.