Home
last modified time | relevance | path

Searched refs:getrusage (Results 1 – 25 of 169) sorted by relevance

1234567

/external/fec/
Drs_speedtest.c23 getrusage(RUSAGE_SELF,&start); in main()
31 getrusage(RUSAGE_SELF,&finish); in main()
39 getrusage(RUSAGE_SELF,&start); in main()
47 getrusage(RUSAGE_SELF,&finish); in main()
Dvtest27.c166 getrusage(RUSAGE_SELF,&start);
177 getrusage(RUSAGE_SELF,&finish);
Dvtest29.c165 getrusage(RUSAGE_SELF,&start);
176 getrusage(RUSAGE_SELF,&finish);
Dvtest39.c166 getrusage(RUSAGE_SELF,&start);
177 getrusage(RUSAGE_SELF,&finish);
Dvtest615.c173 getrusage(RUSAGE_SELF,&start);
184 getrusage(RUSAGE_SELF,&finish);
/external/python/cpython2/Lib/test/
Dtest_resource.py93 self.assertRaises(TypeError, resource.getrusage)
94 self.assertRaises(TypeError, resource.getrusage, 42, 42)
95 usageself = resource.getrusage(resource.RUSAGE_SELF)
96 usagechildren = resource.getrusage(resource.RUSAGE_CHILDREN)
99 usageboth = resource.getrusage(resource.RUSAGE_BOTH)
/external/python/cpython3/Lib/test/
Dtest_resource.py100 self.assertRaises(TypeError, resource.getrusage)
101 self.assertRaises(TypeError, resource.getrusage, 42, 42)
102 usageself = resource.getrusage(resource.RUSAGE_SELF)
103 usagechildren = resource.getrusage(resource.RUSAGE_CHILDREN)
106 usageboth = resource.getrusage(resource.RUSAGE_BOTH)
110 usage_thread = resource.getrusage(resource.RUSAGE_THREAD)
/external/swiftshader/third_party/SPIRV-Tools/source/util/
Dtimer.cpp45 if (getrusage(RUSAGE_SELF, &usage_before_) == -1) in Start()
62 if (getrusage(RUSAGE_SELF, &usage_after_) == -1) in Stop()
/external/deqp-deps/SPIRV-Tools/source/util/
Dtimer.cpp45 if (getrusage(RUSAGE_SELF, &usage_before_) == -1) in Start()
62 if (getrusage(RUSAGE_SELF, &usage_after_) == -1) in Stop()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/util/
Dtimer.cpp45 if (getrusage(RUSAGE_SELF, &usage_before_) == -1) in Start()
62 if (getrusage(RUSAGE_SELF, &usage_after_) == -1) in Stop()
/external/libpcap/testprogs/
Dfindalldevstest-perf.c53 if (getrusage(RUSAGE_SELF, &start_rusage) == -1) { in main()
87 if (getrusage(RUSAGE_SELF, &end_rusage) == -1) { in main()
/external/e2fsprogs/e2fsck/
Dscantest.c59 getrusage(RUSAGE_SELF, &r); in init_resource_track()
77 getrusage(RUSAGE_SELF, &r); in print_resource_track()
/external/python/cpython3/Doc/library/
Dresource.rst264 .. function:: getrusage(who)
278 print(getrusage(RUSAGE_SELF))
283 print(getrusage(RUSAGE_SELF))
296 remaining values are integers. Consult the :manpage:`getrusage(2)` man page for
344 The following :const:`RUSAGE_\*` symbols are passed to the :func:`getrusage`
350 Pass to :func:`getrusage` to request resources consumed by the calling
356 Pass to :func:`getrusage` to request resources consumed by child processes
362 Pass to :func:`getrusage` to request resources consumed by both the current
368 Pass to :func:`getrusage` to request resources consumed by the current
/external/e2fsprogs/resize/
Dresource_track.c36 getrusage(RUSAGE_SELF, &r); in init_resource_track()
92 getrusage(RUSAGE_SELF, &r); in print_resource_track()
/external/libcxx/utils/google-benchmark/src/
Dtimers.cc135 if (getrusage(RUSAGE_SELF, &ru) == 0) return MakeTime(ru); in ProcessCPUUsage()
170 if (getrusage(RUSAGE_LWP, &ru) == 0) return MakeTime(ru); in ThreadCPUUsage()
/external/llvm-project/libcxx/utils/google-benchmark/src/
Dtimers.cc135 if (getrusage(RUSAGE_SELF, &ru) == 0) return MakeTime(ru); in ProcessCPUUsage()
170 if (getrusage(RUSAGE_LWP, &ru) == 0) return MakeTime(ru); in ThreadCPUUsage()
/external/llvm-project/llvm/utils/benchmark/src/
Dtimers.cc135 if (getrusage(RUSAGE_SELF, &ru) == 0) return MakeTime(ru); in ProcessCPUUsage()
170 if (getrusage(RUSAGE_LWP, &ru) == 0) return MakeTime(ru); in ThreadCPUUsage()
/external/python/cpython2/Doc/library/
Dresource.rst159 .. function:: getrusage(who)
177 remaining values are integers. Consult the :manpage:`getrusage(2)` man page for
228 The following :const:`RUSAGE_\*` symbols are passed to the :func:`getrusage`
240 Pass to :func:`getrusage` to request resource information for child processes of
246 Pass to :func:`getrusage` to request resources consumed by both the current
/external/pdfium/third_party/libopenjpeg20/
Dopj_clock.c58 getrusage(0, &t); in opj_clock()
/external/google-benchmark/src/
Dtimers.cc136 if (getrusage(RUSAGE_SELF, &ru) == 0) return MakeTime(ru); in ProcessCPUUsage()
171 if (getrusage(RUSAGE_LWP, &ru) == 0) return MakeTime(ru); in ThreadCPUUsage()
/external/tensorflow/tensorflow/lite/profiling/
Dmemory_info.cc40 if (getrusage(RUSAGE_SELF, &res) == 0) { in GetMemoryUsage()
/external/ltp/testcases/kernel/syscalls/getrusage/
Dgetrusage01.c95 TEST(getrusage(who[i], &usage)); in main()
Dgetrusage02.c115 TEST(getrusage(test_cases[i].who, test_cases[i].usage)); in main()
/external/skqp/tools/
DProcStats.cpp15 getrusage(RUSAGE_SELF, &ru); in getMaxResidentSetSizeMB()
/external/deqp-deps/glslang/glslang/OSDependent/Unix/
Dossource.cpp200 if (getrusage(RUSAGE_SELF, &usage) == 0) in OS_DumpMemoryCounters()

1234567