Home
last modified time | relevance | path

Searched refs:ProcStat (Results 1 – 18 of 18) sorted by relevance

/external/webrtc/examples/androidapp/src/org/appspot/apprtc/
DCpuMonitor.java106 private ProcStat lastProcStat;
108 private static class ProcStat { class in CpuMonitor
113 ProcStat(long userTime, long systemTime, long idleTime) { in ProcStat() method in CpuMonitor.ProcStat
277 lastProcStat = new ProcStat(0, 0, 0); in init()
386 ProcStat procStat = readProcStat(); in sampleCpuUtilization()
490 private @Nullable ProcStat readProcStat() { in readProcStat()
521 return new ProcStat(userTime, systemTime, idleTime); in readProcStat()
/external/llvm-project/llvm/unittests/Support/
DProgramTest.cpp356 Optional<ProcessStatistics> ProcStat; in TEST_F() local
358 &ExecutionFailed, &ProcStat); in TEST_F()
360 ASSERT_TRUE(ProcStat); in TEST_F()
361 ASSERT_GE(ProcStat->UserTime, std::chrono::microseconds(0)); in TEST_F()
362 ASSERT_GE(ProcStat->TotalTime, ProcStat->UserTime); in TEST_F()
/external/bcc/src/cc/
Dsyms.h30 class ProcStat {
36 ProcStat(int pid);
132 ProcStat procstat_;
Dbcc_syms.cc36 ino_t ProcStat::getinode_() { in getinode_()
41 bool ProcStat::is_stale() { in is_stale()
46 ProcStat::ProcStat(int pid) in ProcStat() function in ProcStat
Dusdt.h246 optional<ProcStat> pid_stat_;
/external/bcc/src/cc/includes/
Dsyms.h30 class ProcStat {
36 ProcStat(int pid);
132 ProcStat procstat_;
Dusdt.h246 optional<ProcStat> pid_stat_;
/external/perfetto/include/perfetto/ext/base/
Dwatchdog_posix.h31 struct ProcStat { struct
37 bool ReadProcStat(int fd, ProcStat* out); argument
/external/llvm-project/llvm/lib/Support/
DProgram.cpp36 Optional<ProcessStatistics> *ProcStat) { in ExecuteAndWait() argument
44 ErrMsg, ProcStat); in ExecuteAndWait()
/external/llvm-project/llvm/include/llvm/Support/
DProgram.h128 Optional<ProcessStatistics> *ProcStat = nullptr ///< If non-zero, provides
208 Optional<ProcessStatistics> *ProcStat = nullptr ///< If non-zero, provides
/external/perfetto/src/base/
Dwatchdog_posix_unittest.cc44 ProcStat ps; in TEST()
Dwatchdog_posix.cc58 bool ReadProcStat(int fd, ProcStat* out) { in ReadProcStat()
165 ProcStat stat; in ThreadMain()
/external/llvm-project/clang/include/clang/Driver/
DJob.h144 mutable Optional<llvm::sys::ProcessStatistics> ProcStat; variable
219 return ProcStat; in getProcessStatistics()
/external/perfetto/src/profiling/common/
Dprofiler_guardrails.cc39 base::ProcStat stat; in GetCputimeSecForCurrentProcess()
/external/llvm-project/llvm/lib/Support/Unix/
DProgram.inc379 Optional<ProcessStatistics> *ProcStat) {
404 if (ProcStat)
405 ProcStat->reset();
448 if (ProcStat) {
452 *ProcStat = ProcessStatistics{UserT + KernelT, UserT, PeakMemory};
/external/llvm-project/llvm/lib/Support/Windows/
DProgram.inc398 Optional<ProcessStatistics> *ProcStat) {
409 if (ProcStat)
410 ProcStat->reset();
432 if (ProcStat) {
443 *ProcStat = ProcessStatistics{UserT + KernelT, UserT, PeakMemory};
/external/llvm-project/clang/lib/Driver/
DJob.cpp356 ErrMsg, ExecutionFailed, &ProcStat); in Execute()
DDriver.cpp3944 Optional<llvm::sys::ProcessStatistics> ProcStat = in BuildJobs() local
3946 if (!ProcStat) in BuildJobs()
3958 << format("%.3f", ProcStat->TotalTime.count() / 1000.) << " ms" in BuildJobs()
3960 << format("%.3f", ProcStat->UserTime.count() / 1000.) << " ms" in BuildJobs()
3961 << ", mem=" << ProcStat->PeakMemory << " Kb\n"; in BuildJobs()
3974 Out << ',' << ProcStat->TotalTime.count() << ',' in BuildJobs()
3975 << ProcStat->UserTime.count() << ',' << ProcStat->PeakMemory in BuildJobs()