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

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

Issue 11576050: [Telemetry] Add memory and IO stats to page cycler (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address dtu nits Created 7 years, 10 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/chrome/platform_backend.py
diff --git a/tools/telemetry/telemetry/core/chrome/platform_backend.py b/tools/telemetry/telemetry/core/chrome/platform_backend.py
new file mode 100644
index 0000000000000000000000000000000000000000..adef92adaa1cf0ccc5bf7a1168964ec3139c1748
--- /dev/null
+++ b/tools/telemetry/telemetry/core/chrome/platform_backend.py
@@ -0,0 +1,38 @@
+# Copyright (c) 2013 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+class PlatformBackend(object):
+ def IsRawDisplayFrameRateSupported(self):
+ return False
+
+ # pylint: disable=W0613
+ def StartRawDisplayFrameRateMeasurement(self, trace_tag):
+ raise NotImplementedError()
+
+ def StopRawDisplayFrameRateMeasurement(self):
+ raise NotImplementedError()
+
+ def SetFullPerformanceModeEnabled(self, enabled): # pylint: disable=W0613
+ pass
+
+ def CanMonitorThermalThrottling(self):
+ return False
+
+ def IsThermallyThrottled(self):
+ raise NotImplementedError()
+
+ def HasBeenThermallyThrottled(self):
+ raise NotImplementedError()
+
+ def GetSystemCommitCharge(self):
+ raise NotImplementedError()
+
+ def GetMemoryStats(self, pid): # pylint: disable=W0613
+ return {}
+
+ def GetIOStats(self, pid): # pylint: disable=W0613
+ return {}
+
+ def GetChildPids(self, pid): # pylint: disable=W0613
+ raise NotImplementedError()
« no previous file with comments | « tools/telemetry/telemetry/core/chrome/platform.py ('k') | tools/telemetry/telemetry/core/chrome/win_platform_backend.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698