HomeSort by relevance Sort by last modified time
    Searched refs:rusage (Results 1 - 25 of 223) sorted by null

1 2 3 4 5 6 7 8 9

  /external/fio/os/windows/posix/include/sys/
resource.h 7 struct rusage struct
17 int getrusage(int who, struct rusage *r_usage);
  /toolchain/binutils/binutils-2.27/libiberty/
clock.c 73 struct rusage rusage; local
75 getrusage (0, &rusage);
76 return (rusage.ru_utime.tv_sec * 1000000 + rusage.ru_utime.tv_usec
77 + rusage.ru_stime.tv_sec * 1000000 + rusage.ru_stime.tv_usec);
getruntime.c 100 struct rusage rusage; local
102 getrusage (RUSAGE_SELF, &rusage);
103 return (rusage.ru_utime.tv_sec * 1000000 + rusage.ru_utime.tv_usec
104 + rusage.ru_stime.tv_sec * 1000000 + rusage.ru_stime.tv_usec);
  /bionic/libc/include/android/
legacy_sys_wait_inlines.h 42 static __inline pid_t wait4(pid_t pid, int* status, int options, struct rusage* rusage) {
43 return __BIONIC_CAST(static_cast, pid_t, syscall(__NR_wait4, pid, status, options, rusage));
  /external/fio/lib/
getrusage.c 4 int fio_getrusage(struct rusage *ru)
getrusage.h 7 extern int fio_getrusage(struct rusage *ru);
  /external/strace/tests/
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), pid)
    [all...]
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));
    [all...]
  /external/strace/tests-m32/
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), pid)
    [all...]
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));
    [all...]
  /external/strace/tests-mx32/
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), pid)
    [all...]
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));
    [all...]
  /bionic/tests/headers/posix/
sys_resource_h.c 51 TYPE(struct rusage);
52 STRUCT_MEMBER(struct rusage, struct timeval, ru_utime);
53 STRUCT_MEMBER(struct rusage, struct timeval, ru_stime);
67 FUNCTION(getrusage, int (*f)(int, struct rusage*));
  /external/compiler-rt/test/asan/TestCases/Posix/
wait3.cc 22 struct rusage *ru = (struct rusage*)(x + argc * 3);
wait4.cc 29 struct rusage *ru = (struct rusage*)(x + argc * 3);
  /external/ltp/testcases/kernel/syscalls/getrusage/
getrusage02.c 84 static struct rusage usage;
88 struct rusage *usage;
95 RUSAGE_SELF, (struct rusage *)-1, EFAULT}
  /external/ltp/testcases/kernel/syscalls/wait4/
wait402.c 56 struct rusage rusage; local
65 TEST(wait4(epid, &status, 0, &rusage));
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_wait3.py 25 spid, status, rusage = os.wait3(os.WNOHANG)
32 self.assertTrue(rusage)
test_wait4.py 19 spid, status, rusage = os.wait4(cpid, os.WNOHANG)
25 self.assertTrue(rusage)
  /external/python/cpython2/Lib/test/
test_wait3.py 25 spid, status, rusage = os.wait3(os.WNOHANG)
32 self.assertTrue(rusage)
test_wait4.py 25 spid, status, rusage = os.wait4(cpid, option)
31 self.assertTrue(rusage)
  /external/python/cpython3/Lib/test/
test_wait3.py 25 spid, status, rusage = os.wait3(os.WNOHANG)
32 self.assertTrue(rusage)
test_wait4.py 27 spid, status, rusage = os.wait4(cpid, option)
33 self.assertTrue(rusage)
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_wait3.py 25 spid, status, rusage = os.wait3(os.WNOHANG)
32 self.assertTrue(rusage)
test_wait4.py 19 spid, status, rusage = os.wait4(cpid, os.WNOHANG)
25 self.assertTrue(rusage)

Completed in 336 milliseconds

1 2 3 4 5 6 7 8 9