Home
last modified time | relevance | path

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

/tools/perf/bench/
Dinject-buildid.c351 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()
Dnuma.c1123 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/
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.h139 struct rusage ru_data;
/tools/testing/selftests/pidfd/
Dpidfd_wait.c35 struct rusage *ru) in sys_waitid()
/tools/testing/selftests/net/
Dtcp_mmap.c159 struct rusage ru; in child_thread()
/tools/perf/
Dbuiltin-sched.c547 struct rusage ru; in get_cpu_usage_nsec_parent()