Home
last modified time | relevance | path

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

12

/external/bison/lib/
Dtimevar.c66 extern int getrusage (int, struct rusage *);
223 struct rusage rusage; local
225 getrusage (RUSAGE_SELF, &rusage);
227 getrusage (RUSAGE_CHILDREN, &rusage);
229 now->user = rusage.ru_utime.tv_sec + rusage.ru_utime.tv_usec * 1e-6;
230 now->sys = rusage.ru_stime.tv_sec + rusage.ru_stime.tv_usec * 1e-6;
/external/kernel-headers/original/linux/
Dresource.h23 struct rusage { struct
72 int getrusage(struct task_struct *p, int who, struct rusage __user *ru);
Dcompat.h23 struct rusage;
112 extern int put_compat_rusage(const struct rusage *, struct compat_rusage __user *);
/external/compiler-rt/lib/asan/lit_tests/TestCases/
Dwait.cc45 struct rusage *ru = (struct rusage*)(x + argc * 3); in main()
/external/e2fsprogs/e2fsck/
Dscantest.c57 struct rusage r; in init_resource_track()
75 struct rusage r; in print_resource_track()
Dutil.c276 struct rusage r; in init_resource_track()
284 memset(&r, 0, sizeof(struct rusage)); in init_resource_track()
320 struct rusage r; in print_resource_track()
/external/libpcap/lbl/
Dos-sunos4.h192 struct rusage;
197 pid_t wait3(int *, int, struct rusage *);
/external/tcpdump/lbl/
Dos-sunos4.h192 struct rusage;
197 pid_t wait3(int *, int, struct rusage *);
/external/regex-re2/util/
Dtest.cc26 struct rusage ru; in VirtualProcessSize()
/external/chromium_org/third_party/re2/util/
Dtest.cc29 struct rusage ru; in VirtualProcessSize()
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
Dfrag_unittest.cc98 struct rusage r; in main()
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
Dfrag_unittest.cc98 struct rusage r; in main()
/external/oprofile/libdb/tests/
Ddb_test.c36 struct rusage usage; in used_time()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_interceptors.inc925 INTERCEPTOR(int, wait3, int *status, int options, void *rusage) {
927 COMMON_INTERCEPTOR_ENTER(ctx, wait3, status, options, rusage);
928 int res = REAL(wait3)(status, options, rusage);
932 if (rusage)
933 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, rusage, struct_rusage_sz);
937 INTERCEPTOR(int, wait4, int pid, int *status, int options, void *rusage) {
939 COMMON_INTERCEPTOR_ENTER(ctx, wait4, pid, status, options, rusage);
940 int res = REAL(wait4)(pid, status, options, rusage);
944 if (rusage)
945 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, rusage, struct_rusage_sz);
Dsanitizer_platform_limits_posix.cc105 unsigned struct_rusage_sz = sizeof(struct rusage);
/external/llvm/lib/Support/Unix/
DProcess.inc75 struct rusage RU;
101 // Otherwise fall back to rusage based timing.
/external/mksh/src/
Dsh.h252 #undef rusage
255 #define rusage mksh_rusage macro
259 struct rusage { struct
360 extern int getrusage(int, struct rusage *);
/external/chromium_org/third_party/libjingle/source/talk/base/
Dcpumonitor.cc359 rusage usage; in GetProcessLoad()
/external/strace/
Dresource.c328 struct rusage ru; in printrusage()
/external/v8/src/
Dplatform-posix.cc170 struct rusage usage; in GetUserTime()
/external/chromium_org/v8/src/
Dplatform-posix.cc338 struct rusage usage; in GetUserTime()
/external/llvm/test/Analysis/ScalarEvolution/
Davoid-infinite-recursion-1.ll112 …8, i8, %struct.vmspace*, i32, i8, i8, i8, i8, %struct.itimerval, %struct.rusage, %struct.rusage_ex…
116 …%struct.rusage = type <{ %struct.bintime, %struct.bintime, i64, i64, i64, i64, i64, i64, i64, i64,…
138 …0, %struct.lock_list_entry*, i32, i32, %struct.ucred*, i32, i32, %struct.rusage, i64, i64, i32, i3…
/external/valgrind/main/memcheck/tests/darwin/
Dscalar.stderr.exp79 Syscall param wait4(rusage) contains uninitialised byte(s)
86 Syscall param wait4(rusage) points to unaddressable byte(s)
/external/valgrind/main/include/vki/
Dvki-darwin.h644 #define vki_rusage rusage
/external/valgrind/main/coregrind/m_syswrap/
Dsyswrap-generic.c3244 PRE_REG_READ2(long, "getrusage", int, who, struct rusage *, usage); in PRE()
4095 struct rusage *, rusage); in PRE()

12