/external/fio/os/windows/posix/include/sys/ |
H A D | resource.h | 7 struct rusage struct 17 int getrusage(int who, struct rusage *r_usage);
|
/external/fio/lib/ |
H A D | getrusage.c | 4 int fio_getrusage(struct rusage *ru)
|
H A D | getrusage.h | 7 extern int fio_getrusage(struct rusage *ru);
|
/external/strace/tests/ |
H A D | wait4.c | 40 sprint_rusage(const struct rusage *const ru) 89 do_wait4(pid_t pid, int *wstatus, int options, struct rusage *ru) 128 TAIL_ALLOC_OBJECT_CONST_PTR(struct rusage, rusage); 129 if (wait4(pid, s, WNOHANG|__WALL, rusage)) 131 tprintf("wait4(%d, %p, WNOHANG|__WALL, %p) = 0\n", pid, s, rusage); 136 assert(do_wait4(pid, s, 0, rusage) == pid); 139 " = %d\n", pid, sprint_rusage(rusage), pid); 150 assert(do_wait4(pid, s, __WALL, rusage) == pid); 153 ", __WALL, %s) = %d\n", pid, sprint_rusage(rusage), pi [all...] |
H A D | waitid.c | 42 sprint_rusage(const struct rusage *const ru) 151 const struct rusage *const rusage) 158 infop, poison(options), rusage); 192 TAIL_ALLOC_OBJECT_CONST_PTR(struct rusage, rusage); 193 if (do_waitid(P_PID, pid, sinfo, WNOHANG|WEXITED|WSTOPPED, rusage)) 196 pid, sprint_rusage(rusage)); 201 if (do_waitid(P_PID, pid, sinfo, WEXITED, rusage)) 204 pid, sprint_siginfo(sinfo, "42"), sprint_rusage(rusage)); 147 do_waitid(const unsigned int idtype, const unsigned int id, const siginfo_t *const infop, const unsigned int options, const struct rusage *const rusage) argument [all...] |
H A D | getrusage.c | 45 invoke_print(int who, const char *who_str, struct rusage *usage) 72 TAIL_ALLOC_OBJECT_CONST_PTR(struct rusage, usage);
|
/external/strace/tests-m32/ |
H A D | wait4.c | 40 sprint_rusage(const struct rusage *const ru) 89 do_wait4(pid_t pid, int *wstatus, int options, struct rusage *ru) 128 TAIL_ALLOC_OBJECT_CONST_PTR(struct rusage, rusage); 129 if (wait4(pid, s, WNOHANG|__WALL, rusage)) 131 tprintf("wait4(%d, %p, WNOHANG|__WALL, %p) = 0\n", pid, s, rusage); 136 assert(do_wait4(pid, s, 0, rusage) == pid); 139 " = %d\n", pid, sprint_rusage(rusage), pid); 150 assert(do_wait4(pid, s, __WALL, rusage) == pid); 153 ", __WALL, %s) = %d\n", pid, sprint_rusage(rusage), pi [all...] |
H A D | waitid.c | 42 sprint_rusage(const struct rusage *const ru) 151 const struct rusage *const rusage) 158 infop, poison(options), rusage); 192 TAIL_ALLOC_OBJECT_CONST_PTR(struct rusage, rusage); 193 if (do_waitid(P_PID, pid, sinfo, WNOHANG|WEXITED|WSTOPPED, rusage)) 196 pid, sprint_rusage(rusage)); 201 if (do_waitid(P_PID, pid, sinfo, WEXITED, rusage)) 204 pid, sprint_siginfo(sinfo, "42"), sprint_rusage(rusage)); 147 do_waitid(const unsigned int idtype, const unsigned int id, const siginfo_t *const infop, const unsigned int options, const struct rusage *const rusage) argument [all...] |
H A D | getrusage.c | 45 invoke_print(int who, const char *who_str, struct rusage *usage) 72 TAIL_ALLOC_OBJECT_CONST_PTR(struct rusage, usage);
|
/external/strace/tests-mx32/ |
H A D | wait4.c | 40 sprint_rusage(const struct rusage *const ru) 89 do_wait4(pid_t pid, int *wstatus, int options, struct rusage *ru) 128 TAIL_ALLOC_OBJECT_CONST_PTR(struct rusage, rusage); 129 if (wait4(pid, s, WNOHANG|__WALL, rusage)) 131 tprintf("wait4(%d, %p, WNOHANG|__WALL, %p) = 0\n", pid, s, rusage); 136 assert(do_wait4(pid, s, 0, rusage) == pid); 139 " = %d\n", pid, sprint_rusage(rusage), pid); 150 assert(do_wait4(pid, s, __WALL, rusage) == pid); 153 ", __WALL, %s) = %d\n", pid, sprint_rusage(rusage), pi [all...] |
H A D | waitid.c | 42 sprint_rusage(const struct rusage *const ru) 151 const struct rusage *const rusage) 158 infop, poison(options), rusage); 192 TAIL_ALLOC_OBJECT_CONST_PTR(struct rusage, rusage); 193 if (do_waitid(P_PID, pid, sinfo, WNOHANG|WEXITED|WSTOPPED, rusage)) 196 pid, sprint_rusage(rusage)); 201 if (do_waitid(P_PID, pid, sinfo, WEXITED, rusage)) 204 pid, sprint_siginfo(sinfo, "42"), sprint_rusage(rusage)); 147 do_waitid(const unsigned int idtype, const unsigned int id, const siginfo_t *const infop, const unsigned int options, const struct rusage *const rusage) argument [all...] |
H A D | getrusage.c | 45 invoke_print(int who, const char *who_str, struct rusage *usage) 72 TAIL_ALLOC_OBJECT_CONST_PTR(struct rusage, usage);
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
H A D | wait3.cc | 22 struct rusage *ru = (struct rusage*)(x + argc * 3);
|
H A D | wait4.cc | 29 struct rusage *ru = (struct rusage*)(x + argc * 3);
|
/external/ltp/testcases/kernel/syscalls/getrusage/ |
H A D | getrusage02.c | 84 static struct rusage usage; 88 struct rusage *usage; 95 RUSAGE_SELF, (struct rusage *)-1, EFAULT}
|
H A D | getrusage01.c | 84 struct rusage usage;
|
/external/ltp/testcases/kernel/syscalls/wait4/ |
H A D | wait402.c | 56 struct rusage rusage; local 65 TEST(wait4(epid, &status, 0, &rusage));
|
H A D | wait401.c | 45 struct rusage rusage; local 65 TEST(wait4(pid, &status, 0, &rusage));
|
/external/python/cpython2/Lib/test/ |
H A D | test_wait3.py | 25 spid, status, rusage = os.wait3(os.WNOHANG) 32 self.assertTrue(rusage)
|
H A D | test_wait4.py | 25 spid, status, rusage = os.wait4(cpid, option) 31 self.assertTrue(rusage)
|
/external/python/cpython3/Lib/test/ |
H A D | test_wait3.py | 25 spid, status, rusage = os.wait3(os.WNOHANG) 32 self.assertTrue(rusage)
|
H A D | test_wait4.py | 27 spid, status, rusage = os.wait4(cpid, option) 33 self.assertTrue(rusage)
|
/external/ltp/utils/ffsb-6.0-rc2/ |
H A D | util.c | 162 struct rusage rusage; local 164 getrusage(RUSAGE_SELF, &rusage); 167 ((double)rusage.ru_utime.tv_sec) + 168 (((double)rusage.ru_utime.tv_usec) / 1000000.0) + 169 ((double)rusage.ru_stime.tv_sec) + 170 (((double)rusage.ru_stime.tv_usec) / 1000000.0); 175 struct rusage rusage; local 177 getrusage(RUSAGE_CHILDREN, &rusage); [all...] |
H A D | ffsb.h | 43 struct rusage before; 44 struct rusage after;
|
/external/pdfium/third_party/libopenjpeg20/ |
H A D | opj_clock.c | 55 struct rusage t; 57 /* (1) Get the rusage data structure at this moment (man getrusage) */
|