Function lrs::syscall::getrusage

Returns the resource usage of this thread, this process, or its children.

Syntax

fn getrusage(who: i32, usage: &mut rusage) -> i32

Arguments

NameDescription
who

Whose resource usage to get.

usage

Place where the usage will be stored.

See also