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

1 2 3 4 5 6

  /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/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}
getrusage01.c 84 struct rusage usage;
  /external/ltp/testcases/kernel/syscalls/wait4/
wait401.c 37 struct rusage rusage; local
45 TEST(wait4(pid, &status, 0, &rusage));
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)
  /external/ltp/utils/ffsb-6.0-rc2/
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...]
  /device/linaro/bootloader/edk2/StdLib/Include/sys/
wait.h 162 struct rusage; /* forward declaration */
165 pid_t wait3(int *, int, struct rusage *);
166 pid_t wait4(pid_t, int *, int, struct rusage *);
  /bionic/libc/bionic/
wait.cpp 32 extern "C" int __waitid(idtype_t which, id_t id, siginfo_t* info, int options, struct rusage* ru);
43 // The system call takes an optional struct rusage that we don't need.
  /bionic/libc/include/sys/
wait.h 44 pid_t wait4(pid_t __pid, int* __status, int __options, struct rusage* __rusage) __INTRODUCED_IN(18);
  /external/pdfium/third_party/libopenjpeg20/
opj_clock.c 55 struct rusage t;
57 /* (1) Get the rusage data structure at this moment (man getrusage) */

Completed in 689 milliseconds

1 2 3 4 5 6