Searched refs:rusage (Results 1 – 6 of 6) sorted by relevance
/tools/include/nolibc/ |
D | nolibc.h | 187 struct rusage { struct 1759 pid_t sys_wait4(pid_t pid, int *status, int options, struct rusage *rusage) in sys_wait4() argument 1761 return my_syscall4(__NR_wait4, pid, status, options, rusage); in sys_wait4() 2241 pid_t wait4(pid_t pid, int *status, int options, struct rusage *rusage) in wait4() argument 2243 pid_t ret = sys_wait4(pid, status, options, rusage); in wait4()
|
/tools/perf/util/ |
D | stat.h | 123 struct rusage ru_data;
|
/tools/perf/bench/ |
D | numa.c | 1109 struct rusage rusage; in worker_thread() local 1265 getrusage(RUSAGE_THREAD, &rusage); in worker_thread() 1266 td->system_time_ns = rusage.ru_stime.tv_sec * NSEC_PER_SEC; in worker_thread() 1267 td->system_time_ns += rusage.ru_stime.tv_usec * NSEC_PER_USEC; in worker_thread() 1268 td->user_time_ns = rusage.ru_utime.tv_sec * NSEC_PER_SEC; in worker_thread() 1269 td->user_time_ns += rusage.ru_utime.tv_usec * NSEC_PER_USEC; in worker_thread()
|
/tools/testing/selftests/pidfd/ |
D | pidfd_wait.c | 30 struct rusage *ru) in sys_waitid()
|
/tools/testing/selftests/net/ |
D | tcp_mmap.c | 131 struct rusage ru; in child_thread()
|
/tools/perf/ |
D | builtin-sched.c | 543 struct rusage ru; in get_cpu_usage_nsec_parent()
|