1 2 3 4 5 6 7 8
#include <sched.h> #include <syscall.h> #include <time.h> int sched_rr_get_interval(pid_t pid, struct timespec *tp) { return syscall(sched_rr_get_interval, pid, tp); }