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

Unified Diff: tools/telemetry/telemetry/core/browser.py

Issue 21682002: Expose GPU information to Telemetry. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed more unnecessary includes. Created 7 years, 4 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/browser.py
diff --git a/tools/telemetry/telemetry/core/browser.py b/tools/telemetry/telemetry/core/browser.py
index f8dbb39555b976a9fe47834e6e8843436e554bdd..fe45b7f47a3935aece2dfcbed30c16c4435f91b8 100644
--- a/tools/telemetry/telemetry/core/browser.py
+++ b/tools/telemetry/telemetry/core/browser.py
@@ -307,3 +307,13 @@ class Browser(object):
def GetStackTrace(self):
return self._browser_backend.GetStackTrace()
+
+ @property
+ def supports_gpu_info(self):
+ return self._browser_backend.supports_gpu_info
+
+ def GetGPUInfo(self):
+ """Returns information about the GPU on the system, if available.
+
+ See the documentation for the GPUInfo class for more details."""
+ return self._browser_backend.GetGPUInfo()

Powered by Google App Engine
This is Rietveld 408576698