Home
last modified time | relevance | path

Searched refs:rusage (Results 1 – 6 of 6) sorted by relevance

/tools/include/nolibc/
Dnolibc.h187 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/
Dstat.h123 struct rusage ru_data;
/tools/perf/bench/
Dnuma.c1109 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/
Dpidfd_wait.c30 struct rusage *ru) in sys_waitid()
/tools/testing/selftests/net/
Dtcp_mmap.c131 struct rusage ru; in child_thread()
/tools/perf/
Dbuiltin-sched.c543 struct rusage ru; in get_cpu_usage_nsec_parent()