OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:cpu_stats
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/tools/perf/metrics/
cpu.py
17
# Save the browser object so that
cpu_stats
can be accessed later.
21
self._start_cpu = self._browser.
cpu_stats
25
self._results = _SubtractCpuStats(self._browser.
cpu_stats
, self._start_cpu)
39
def _SubtractCpuStats(
cpu_stats
, start_cpu_stats):
42
Each of the two
cpu_stats
arguments is a dict with the following format:
56
for process_type in
cpu_stats
:
59
if (not
cpu_stats
[process_type]) or (not start_cpu_stats[process_type]):
61
cpu_process_time = (
cpu_stats
[process_type]['CpuProcessTime'] -
63
total_time = (
cpu_stats
[process_type]['TotalTime'] -
/external/chromium_org/tools/telemetry/telemetry/core/platform/
android_platform_backend_unittest.py
45
cpu_stats
= backend.GetCpuStats('7702')
46
self.assertEquals(
cpu_stats
, {'CpuProcessTime': 5.0})
53
cpu_stats
= backend.GetCpuStats('7702')
54
self.assertEquals(
cpu_stats
, {})
/external/chromium_org/tools/telemetry/telemetry/core/
browser.py
171
def
cpu_stats
(self):
member in class:Browser
Completed in 73 milliseconds