Home
last modified time | relevance | path

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

123

/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/strace/tests/
Dwait.c44 struct rusage rusage = {}; in main() local
66 assert(wait4(pid, &s, 0, &rusage) == pid); in main()
91 assert(wait4(-1, &s, WNOHANG | WUNTRACED | __WALL, &rusage) == -1); in main()
/external/fio/os/windows/posix/include/sys/
Dresource.h7 struct rusage struct
17 int getrusage(int who, struct rusage *r_usage); argument
/external/compiler-rt/test/asan/TestCases/Posix/
Dwait3.cc22 struct rusage *ru = (struct rusage*)(x + argc * 3); in main()
Dwait4.cc29 struct rusage *ru = (struct rusage*)(x + argc * 3); in main()
/external/e2fsprogs/resize/
Dresource_track.c24 struct rusage r; in init_resource_track()
33 memset(&r, 0, sizeof(struct rusage)); in init_resource_track()
63 struct rusage r; in print_resource_track()
/external/e2fsprogs/e2fsck/
Dscantest.c54 struct rusage r; in init_resource_track()
72 struct rusage r; in print_resource_track()
Dutil.c330 struct rusage r; in init_resource_track()
338 memset(&r, 0, sizeof(struct rusage)); in init_resource_track()
374 struct rusage r; in print_resource_track()
/external/fio/lib/
Dgetrusage.h7 extern int fio_getrusage(struct rusage *ru);
Dgetrusage.c4 int fio_getrusage(struct rusage *ru) in fio_getrusage()
/external/tcpdump/lbl/
Dos-sunos4.h190 struct rusage;
195 pid_t wait3(int *, int, struct rusage *);
/external/libpcap/lbl/
Dos-sunos4.h190 struct rusage;
195 pid_t wait3(int *, int, struct rusage *);
/external/autotest/client/site_tests/platform_CompressedSwapPerf/src/
Dhog.c161 struct rusage usage_start; in main()
162 struct rusage usage_end; in main()
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/
Dsyscall_parameters_restrictions_unittests.cc222 struct rusage usage; in BPF_TEST_C()
230 struct rusage usage; in BPF_DEATH_TEST_C()
/external/pdfium/third_party/libopenjpeg20/
Dopj_clock.c53 struct rusage t; in opj_clock()
/external/regex-re2/util/
Dtest.cc26 struct rusage ru; in VirtualProcessSize()
/external/kernel-headers/original/uapi/linux/
Dresource.h23 struct rusage { struct
/external/toybox/toys/posix/
Dtime.c34 struct rusage ru; in time_main()
/external/skia/tools/
DProcStats.cpp13 struct rusage ru; in getMaxResidentSetSizeMB()
/external/fec/
Drs_speedtest.c13 struct rusage start,finish; in main()
Dvtest29.c48 struct rusage start,finish;
/external/google-benchmark/src/
Dsysinfo.cc290 struct rusage ru; in MyCPUUsageRUsage()
366 struct rusage ru; in ChildrenCPUUsage()
/external/strace/
Dprintrusage.c36 typedef struct rusage rusage_t;
/external/fio/
Dfio.h136 struct rusage ru_start;
137 struct rusage ru_end;
/external/libvncserver/libvncclient/
Dlisten.c91 while ((pid= wait3(&status, WNOHANG, (struct rusage *)0))>0); in listenForIncomingConnections()

123