Function lrs::syscall::sched_rr_get_interval

Returns the round-robin time slice of a thread.

Syntax

fn sched_rr_get_interval(pid: i32, tp: &mut timespec) -> i32

Arguments

NameDescription
pid

The thread to inspect.

tp

Place where the time slice will be stored.

See also