Searched refs:ProcessMetrics (Results 1 – 6 of 6) sorted by relevance
97 ProcessMetrics* ProcessMetrics::CreateProcessMetrics( in CreateProcessMetrics()100 return new ProcessMetrics(process, port_provider); in CreateProcessMetrics()103 size_t ProcessMetrics::GetPagefileUsage() const { in GetPagefileUsage()110 size_t ProcessMetrics::GetPeakPagefileUsage() const { in GetPeakPagefileUsage()114 size_t ProcessMetrics::GetWorkingSetSize() const { in GetWorkingSetSize()121 size_t ProcessMetrics::GetPeakWorkingSetSize() const { in GetPeakWorkingSetSize()128 bool ProcessMetrics::GetMemoryBytes(size_t* private_bytes, in GetMemoryBytes()221 void ProcessMetrics::GetCommittedKBytes(CommittedKBytes* usage) const { in GetCommittedKBytes()228 bool ProcessMetrics::GetWorkingSetKBytes(WorkingSetKBytes* ws_usage) const { in GetWorkingSetKBytes()233 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()
166 ProcessMetrics* ProcessMetrics::CreateProcessMetrics(ProcessHandle process) { in CreateProcessMetrics()167 return new ProcessMetrics(process); in CreateProcessMetrics()171 size_t ProcessMetrics::GetPagefileUsage() const { in GetPagefileUsage()177 size_t ProcessMetrics::GetPeakPagefileUsage() const { in GetPeakPagefileUsage()182 size_t ProcessMetrics::GetWorkingSetSize() const { in GetWorkingSetSize()188 size_t ProcessMetrics::GetPeakWorkingSetSize() const { in GetPeakWorkingSetSize()192 bool ProcessMetrics::GetMemoryBytes(size_t* private_bytes, in GetMemoryBytes()207 bool ProcessMetrics::GetWorkingSetKBytes(WorkingSetKBytes* ws_usage) const { in GetWorkingSetKBytes()215 double ProcessMetrics::GetCPUUsage() { in GetCPUUsage()259 bool ProcessMetrics::GetIOCounters(IoCounters* io_counters) const { in GetIOCounters()[all …]
26 ProcessMetrics::~ProcessMetrics() { } in ~ProcessMetrics()
306 std::unique_ptr<ProcessMetrics> metrics( in TEST_F()307 ProcessMetrics::CreateProcessMetrics(handle)); in TEST_F()499 std::unique_ptr<ProcessMetrics> metrics( in TEST()500 ProcessMetrics::CreateProcessMetrics(child.Handle())); in TEST()