Home
last modified time | relevance | path

Searched refs:ru (Results 1 – 8 of 8) sorted by relevance

/tools/testing/selftests/net/
Dtcp_mmap.c159 struct rusage ru; in child_thread() local
242 getrusage(RUSAGE_THREAD, &ru); in child_thread()
246 total_usec = 1000000*ru.ru_utime.tv_sec + ru.ru_utime.tv_usec + in child_thread()
247 1000000*ru.ru_stime.tv_sec + ru.ru_stime.tv_usec; in child_thread()
254 (double)ru.ru_utime.tv_sec + (double)ru.ru_utime.tv_usec / 1000000.0, in child_thread()
255 (double)ru.ru_stime.tv_sec + (double)ru.ru_stime.tv_usec / 1000000.0, in child_thread()
257 ru.ru_nvcsw); in child_thread()
Dvrf-xfrm-tests.sh104 ip ${ns} ru del pref 0
105 ip ${ns} ru add pref 32765 from all lookup local
106 ip ${ns} -6 ru del pref 0
107 ip ${ns} -6 ru add pref 32765 from all lookup local
Dicmp_redirect.sh158 ip -netns ${ns} ru del pref 0
159 ip -netns ${ns} ru add pref 32765 from all lookup local
160 ip -netns ${ns} -6 ru del pref 0
161 ip -netns ${ns} -6 ru add pref 32765 from all lookup local
Dfcnal-test.sh374 ip -netns ${ns} ru del pref 0
375 ip -netns ${ns} ru add pref 32765 from all lookup local
376 ip -netns ${ns} -6 ru del pref 0
377 ip -netns ${ns} -6 ru add pref 32765 from all lookup local
/tools/memory-model/
Dlock.cat106 let rfi-ru = ([UL] ; po-loc ; [RU]) \ ([UL] ; po-loc ; [LKW] ; po-loc)
109 let all-possible-rfe-ru =
110 let possible-rfe-ru r =
113 in map possible-rfe-ru RU
116 with rfe-ru from cross(all-possible-rfe-ru)
117 let rf-ru = rfe-ru | rfi-ru
120 let rf = rf | rf-lf | rf-ru
/tools/testing/selftests/pidfd/
Dpidfd_wait.c35 struct rusage *ru) in sys_waitid() argument
37 return syscall(__NR_waitid, which, pid, info, options, ru); in sys_waitid()
/tools/testing/selftests/kexec/
Dkexec_common_lib.sh121 if [ $(id -ru) -ne 0 ]; then
/tools/perf/
Dbuiltin-sched.c547 struct rusage ru; in get_cpu_usage_nsec_parent() local
551 err = getrusage(RUSAGE_SELF, &ru); in get_cpu_usage_nsec_parent()
554 sum = ru.ru_utime.tv_sec * NSEC_PER_SEC + ru.ru_utime.tv_usec * NSEC_PER_USEC; in get_cpu_usage_nsec_parent()
555 sum += ru.ru_stime.tv_sec * NSEC_PER_SEC + ru.ru_stime.tv_usec * NSEC_PER_USEC; in get_cpu_usage_nsec_parent()