Struct lrs::process::ResourceUsage

Resource usage.

Syntax

struct ResourceUsage {
    /* private fields */
}

Methods

ReceiverNameDescription
&selffs_input

Returns the number of filesystem input events.

&selffs_output

Returns the number of filesystem output events.

&selfinvoluntary_context_switches

Returns the number of involuntary context switches.

&selfio_page_faults

Returns the number of page faults that required I/O activity.

&selfkernel_time

Returns the CPU time used in kernel space.

&selfmax_mem

Returns the maximum amount of used memory in RAM.

&selfno_io_page_faults

Returns the number of page faults that did not require I/O activity.

&selfuser_time

Returns the CPU time used in user space.

&selfvoluntary_context_switches

Returns the number of voluntary context switches.

Trait implementations

NameDescription
Clone

Objects that can be duplicated.

Copy

Objects that can safely be copied via memcpy.

Debug

Objects that can be formatted in a "debug" form.

Eq

Objects that implement the binary == and != operators.

MaybeClone

Objects that can be duplicated.

Pod

Objects that are safe to use if they contain a random bit pattern.