Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: tools/perf/metrics/cpu.py

Issue 25494006: Telemetry: fix cpu metric. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/metrics/cpu.py
diff --git a/tools/perf/metrics/cpu.py b/tools/perf/metrics/cpu.py
index b08ac5a6a357517c8fd9ff974b00d689328a5c53..03e23e666ea585310507851621d8a3e44b137c2c 100644
--- a/tools/perf/metrics/cpu.py
+++ b/tools/perf/metrics/cpu.py
@@ -22,8 +22,7 @@ class CpuMetric(Metric):
def Stop(self, page, tab):
assert self._start_cpu, 'Must call Start() first'
- self._results = CpuMetric.SubtractCpuStats(self._browser.cpu_stats,
- self.start_cpu)
+ self._results = _SubtractCpuStats(self._browser.cpu_stats, self._start_cpu)
# Optional argument trace_name is not in base class Metric.
# pylint: disable=W0221
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698