Searched refs:rusage (Results 1 – 7 of 7) sorted by relevance
/tools/perf/bench/ |
D | inject-buildid.c | 351 struct rusage rusage; in inject_build_id() local 386 wait4(data->pid, &status, 0, &rusage); in inject_build_id() 387 *max_rss = rusage.ru_maxrss; in inject_build_id()
|
D | numa.c | 1123 struct rusage rusage; in worker_thread() local 1282 getrusage(RUSAGE_THREAD, &rusage); in worker_thread() 1283 td->system_time_ns = rusage.ru_stime.tv_sec * NSEC_PER_SEC; in worker_thread() 1284 td->system_time_ns += rusage.ru_stime.tv_usec * NSEC_PER_USEC; in worker_thread() 1285 td->user_time_ns = rusage.ru_utime.tv_sec * NSEC_PER_SEC; in worker_thread() 1286 td->user_time_ns += rusage.ru_utime.tv_usec * NSEC_PER_USEC; in worker_thread()
|
/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 | 139 struct rusage ru_data;
|
/tools/testing/selftests/pidfd/ |
D | pidfd_wait.c | 35 struct rusage *ru) in sys_waitid()
|
/tools/testing/selftests/net/ |
D | tcp_mmap.c | 159 struct rusage ru; in child_thread()
|
/tools/perf/ |
D | builtin-sched.c | 547 struct rusage ru; in get_cpu_usage_nsec_parent()
|