Searched refs:total_cpu_percent (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/chrome/browser/power/
H A Dprocess_power_collector.cc97 double total_cpu_percent = SynchronizeProcesses(); local
106 RecordCpuUsageByOrigin(total_cpu_percent);
107 return total_cpu_percent;
144 double total_cpu_percent = 0.0; local
152 total_cpu_percent += it->second->last_cpu_percent();
156 return total_cpu_percent;
159 void ProcessPowerCollector::RecordCpuUsageByOrigin(double total_cpu_percent) { argument
160 DCHECK_GE(total_cpu_percent, 0);
161 if (total_cpu_percent == 0)
168 last_process_power_usage *= scale_factor_ / total_cpu_percent;
[all...]
H A Dprocess_power_collector.h126 // of CPU used in this cycle, |total_cpu_percent|.
127 void RecordCpuUsageByOrigin(double total_cpu_percent);

Completed in 80 milliseconds