Home
last modified time | relevance | path

Searched refs:ProcessMetrics (Results 1 – 8 of 8) sorted by relevance

/external/libchrome/base/process/
Dprocess_metrics_mac.cc94 ProcessMetrics* ProcessMetrics::CreateProcessMetrics( in CreateProcessMetrics()
97 return new ProcessMetrics(process, port_provider); in CreateProcessMetrics()
100 size_t ProcessMetrics::GetPagefileUsage() const { in GetPagefileUsage()
107 size_t ProcessMetrics::GetPeakPagefileUsage() const { in GetPeakPagefileUsage()
111 size_t ProcessMetrics::GetWorkingSetSize() const { in GetWorkingSetSize()
118 size_t ProcessMetrics::GetPeakWorkingSetSize() const { in GetPeakWorkingSetSize()
125 bool ProcessMetrics::GetMemoryBytes(size_t* private_bytes, in GetMemoryBytes()
218 void ProcessMetrics::GetCommittedKBytes(CommittedKBytes* usage) const { in GetCommittedKBytes()
225 bool ProcessMetrics::GetWorkingSetKBytes(WorkingSetKBytes* ws_usage) const { in GetWorkingSetKBytes()
230 bool ProcessMetrics::GetCommittedAndWorkingSetKBytes( in GetCommittedAndWorkingSetKBytes()
[all …]
Dprocess_metrics.h101 class BASE_EXPORT ProcessMetrics {
103 ~ProcessMetrics();
108 static ProcessMetrics* CreateProcessMetrics(ProcessHandle process);
114 static ProcessMetrics* CreateProcessMetrics(ProcessHandle process,
121 static ProcessMetrics* CreateCurrentProcessMetrics();
188 explicit ProcessMetrics(ProcessHandle process);
190 ProcessMetrics(ProcessHandle process, PortProvider* port_provider);
232 DISALLOW_COPY_AND_ASSIGN(ProcessMetrics);
Dprocess_metrics.cc49 ProcessMetrics* ProcessMetrics::CreateCurrentProcessMetrics() { in CreateCurrentProcessMetrics()
57 double ProcessMetrics::GetPlatformIndependentCPUUsage() { in GetPlatformIndependentCPUUsage()
66 int ProcessMetrics::CalculateIdleWakeupsPerSecond( in CalculateIdleWakeupsPerSecond()
92 int ProcessMetrics::GetIdleWakeupsPerSecond() { in GetIdleWakeupsPerSecond()
Dprocess_metrics_linux.cc165 ProcessMetrics* ProcessMetrics::CreateProcessMetrics(ProcessHandle process) { in CreateProcessMetrics()
166 return new ProcessMetrics(process); in CreateProcessMetrics()
170 size_t ProcessMetrics::GetPagefileUsage() const { in GetPagefileUsage()
176 size_t ProcessMetrics::GetPeakPagefileUsage() const { in GetPeakPagefileUsage()
181 size_t ProcessMetrics::GetWorkingSetSize() const { in GetWorkingSetSize()
187 size_t ProcessMetrics::GetPeakWorkingSetSize() const { in GetPeakWorkingSetSize()
191 bool ProcessMetrics::GetMemoryBytes(size_t* private_bytes, in GetMemoryBytes()
206 bool ProcessMetrics::GetWorkingSetKBytes(WorkingSetKBytes* ws_usage) const { in GetWorkingSetKBytes()
214 double ProcessMetrics::GetCPUUsage() { in GetCPUUsage()
258 bool ProcessMetrics::GetIOCounters(IoCounters* io_counters) const { in GetIOCounters()
[all …]
Dprocess_metrics_posix.cc26 ProcessMetrics::~ProcessMetrics() { } in ~ProcessMetrics()
Dprocess_metrics_unittest.cc306 scoped_ptr<ProcessMetrics> metrics( in TEST_F()
307 ProcessMetrics::CreateProcessMetrics(handle)); in TEST_F()
499 scoped_ptr<ProcessMetrics> metrics( in TEST()
500 ProcessMetrics::CreateProcessMetrics(child.Handle())); in TEST()
/external/libchrome/base/trace_event/
Dprocess_memory_totals_dump_provider.h18 class ProcessMetrics; variable
40 scoped_ptr<ProcessMetrics> process_metrics_;
Dprocess_memory_totals_dump_provider.cc40 : process_metrics_(ProcessMetrics::CreateCurrentProcessMetrics()) {} in ProcessMemoryTotalsDumpProvider()