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

Unified Diff: tools/telemetry/telemetry/core/platform/platform_backend.py

Issue 23717016: Add cpu_stats for the browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 3 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
Index: tools/telemetry/telemetry/core/platform/platform_backend.py
diff --git a/tools/telemetry/telemetry/core/platform/platform_backend.py b/tools/telemetry/telemetry/core/platform/platform_backend.py
index 2465cfcc05341952dd4ce6438af37b94351c29d6..3e27ce50b07a8450a05aebd45cf7f10f03cb059e 100644
--- a/tools/telemetry/telemetry/core/platform/platform_backend.py
+++ b/tools/telemetry/telemetry/core/platform/platform_backend.py
@@ -31,6 +31,12 @@ class PlatformBackend(object):
def GetSystemCommitCharge(self):
raise NotImplementedError()
+ def GetCpuStats(self, pid): # pylint: disable=W0613
+ return {}
+
+ def GetCpuTimestamp(self): # pylint: disable=W0613
+ return {}
+
def GetMemoryStats(self, pid): # pylint: disable=W0613
return {}

Powered by Google App Engine
This is Rietveld 408576698