Searched refs:ProcessMetrics (Results 1 – 8 of 8) sorted by relevance
94 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 …]
101 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);
49 ProcessMetrics* ProcessMetrics::CreateCurrentProcessMetrics() { in CreateCurrentProcessMetrics()57 double ProcessMetrics::GetPlatformIndependentCPUUsage() { in GetPlatformIndependentCPUUsage()66 int ProcessMetrics::CalculateIdleWakeupsPerSecond( in CalculateIdleWakeupsPerSecond()92 int ProcessMetrics::GetIdleWakeupsPerSecond() { in GetIdleWakeupsPerSecond()
165 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 …]
26 ProcessMetrics::~ProcessMetrics() { } in ~ProcessMetrics()
306 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()
18 class ProcessMetrics; variable40 scoped_ptr<ProcessMetrics> process_metrics_;
40 : process_metrics_(ProcessMetrics::CreateCurrentProcessMetrics()) {} in ProcessMemoryTotalsDumpProvider()