Returns the round-robin time slice of a thread.
fn sched_rr_get_interval(pid: i32, tp: &mut timespec) -> i32
The thread to inspect.
Place where the time slice will be stored.
sched_rr_get_interval(2)