HomeSort by relevance Sort by last modified time
    Searched refs:cpu_stats (Results 1 - 11 of 11) sorted by null

  /external/chromium_org/tools/perf/metrics/
cpu.py 19 # Save the browser object so that cpu_stats can be accessed later.
23 self._start_cpu = self._browser.cpu_stats
27 self._stop_cpu = self._browser.cpu_stats
33 cpu_stats = _SubtractCpuStats(self._stop_cpu, self._start_cpu)
35 for process_type in cpu_stats:
37 cpu_percent = 100 * cpu_stats[process_type]
43 def _SubtractCpuStats(cpu_stats, start_cpu_stats):
46 Each of the two cpu_stats arguments is a dict with the following format:
60 for process_type in cpu_stats:
63 if (not cpu_stats[process_type]) or (not start_cpu_stats[process_type])
    [all...]
power.py 49 self._results['cpu_stats'] = (
50 _SubtractCpuStats(self._browser.cpu_stats, self._starting_cpu_stats))
79 self._starting_cpu_stats = self._browser.cpu_stats
130 for (process_type, stats) in self._results.get('cpu_stats', {}).items():
164 def _SubtractCpuStats(cpu_stats, start_cpu_stats):
167 Each of the two cpu_stats arguments is a dict as returned by the
168 Browser.cpu_stats call.
176 for process_type in cpu_stats:
179 if (not cpu_stats[process_type]) or (not start_cpu_stats[process_type]):
182 if (('IdleWakeupCount' not in cpu_stats[process_type]) o
    [all...]
  /external/chromium_org/tools/telemetry/telemetry/core/platform/
android_platform_backend_unittest.py 35 cpu_stats = backend.GetCpuStats('7702')
36 self.assertEquals(cpu_stats, {'CpuProcessTime': 5.0})
43 cpu_stats = backend.GetCpuStats('7702')
44 self.assertEquals(cpu_stats, {})
mac_platform_backend_unittest.py 34 cpu_stats = backend.GetCpuStats(os.getpid())
35 self.assertGreater(cpu_stats['CpuProcessTime'], 0)
36 self.assertTrue(cpu_stats.has_key('ContextSwitches'))
38 self.assertTrue(cpu_stats.has_key('IdleWakeupCount'))
  /external/chromium_org/tools/telemetry/telemetry/core/platform/power_monitor/
sysfs_power_monitor.py 158 cpu_stats = {}
166 cpu_stats[cpu] = collections.defaultdict(int)
176 cpu_stats[cpu] = current_cpu
181 cpu_stats['whole_package'] = average
182 return cpu_stats
185 def CombineResults(cpu_stats, power_stats):
189 cpu_stats: Dictionary containing CPU statistics.
195 if not cpu_stats:
199 for cpu in cpu_stats:
200 power_stats['component_utilization'][cpu] = cpu_stats[cpu
    [all...]
android_dumpsys_power_monitor.py 41 cpu_stats = super(DumpsysPowerMonitor, self).StopMonitoringPower()
48 cpu_stats, DumpsysPowerMonitor.ParseSamplingOutput(package, result))
cros_power_monitor.py 42 cpu_stats = super(CrosPowerMonitor, self).StopMonitoringPower()
51 return CrosPowerMonitor.CombineResults(cpu_stats, power_stats)
monsoon_power_monitor.py 87 cpu_stats = super(MonsoonPowerMonitor, self).StopMonitoringPower()
96 return super(MonsoonPowerMonitor, self).CombineResults(cpu_stats,
  /external/chromium_org/tools/memory_inspector/memory_inspector/frontends/
www_server.py 404 cpu_stats = {
415 cpu_stats['rows'] += [{'c': [
435 return _HTTP_OK, [], {'cpu': cpu_stats, 'mem': mem_stats}
455 cpu_stats = {
474 cpu_stats['rows'] += [{'c': [
485 return _HTTP_OK, [], {'cpu': cpu_stats, 'mem': mem_stats}
  /external/chromium_org/tools/perf/measurements/
page_cycler_unittest.py 66 def cpu_stats(self): member in class:FakeBrowser
  /external/chromium_org/tools/telemetry/telemetry/core/
browser.py 198 def cpu_stats(self): member in class:Browser

Completed in 642 milliseconds