HomeSort by relevance Sort by last modified time
    Searched full:cpu_stats (Results 1 - 9 of 9) 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._results = _SubtractCpuStats(self._browser.cpu_stats, self._start_cpu)
42 def _SubtractCpuStats(cpu_stats, start_cpu_stats):
45 Each of the two cpu_stats arguments is a dict with the following format:
59 for process_type in cpu_stats:
62 if (not cpu_stats[process_type]) or (not start_cpu_stats[process_type]):
64 cpu_process_time = (cpu_stats[process_type]['CpuProcessTime'] -
66 total_time = (cpu_stats[process_type]['TotalTime'] -
power.py 34 self._results['cpu_stats'] = (
35 _SubtractCpuStats(self._browser.cpu_stats, self._starting_cpu_stats))
46 self._starting_cpu_stats = self._browser.cpu_stats
84 for (process_type, stats) in self._results.get('cpu_stats', {}).items():
100 def _SubtractCpuStats(cpu_stats, start_cpu_stats):
103 Each of the two cpu_stats arguments is a dict as returned by the
104 Browser.cpu_stats call.
111 for process_type in cpu_stats:
114 if (not cpu_stats[process_type]) or (not start_cpu_stats[process_type]):
117 if (('IdleWakeupCount' not in cpu_stats[process_type]) o
    [all...]
  /external/chromium_org/tools/telemetry/telemetry/core/platform/
mac_platform_backend_unittest.py 29 cpu_stats = backend.GetCpuStats(os.getpid())
30 self.assertGreater(cpu_stats['CpuProcessTime'], 0)
31 self.assertTrue(cpu_stats.has_key('ContextSwitches'))
33 self.assertTrue(cpu_stats.has_key('IdleWakeupCount'))
android_platform_backend_unittest.py 57 cpu_stats = backend.GetCpuStats('7702')
58 self.assertEquals(cpu_stats, {'CpuProcessTime': 5.0})
66 cpu_stats = backend.GetCpuStats('7702')
67 self.assertEquals(cpu_stats, {})
  /external/chromium_org/tools/memory_inspector/memory_inspector/frontends/
www_server.py 403 cpu_stats = {
414 cpu_stats['rows'] += [{'c': [
434 return _HTTP_OK, [], {'cpu': cpu_stats, 'mem': mem_stats}
454 cpu_stats = {
473 cpu_stats['rows'] += [{'c': [
484 return _HTTP_OK, [], {'cpu': cpu_stats, 'mem': mem_stats}
  /external/chromium_org/tools/perf/measurements/
page_cycler_unittest.py 62 def cpu_stats(self): member in class:FakeBrowser
  /external/chromium_org/tools/telemetry/telemetry/core/
browser.py 192 def cpu_stats(self): member in class:Browser
  /external/chromium_org/tools/telemetry/docs/
telemetry.core.browser.html 118 <dl><dt><strong>cpu_stats</strong></dt>
telemetry.html 131 <dl><dt><strong>cpu_stats</strong></dt>
    [all...]

Completed in 291 milliseconds