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

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

Issue 239083010: Telemetry: adds CPU frequency stats. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: unit-info Created 6 years, 8 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 668e05998b335044007b43c6500631db38cb5c6f..ca1bc57ace67eef0d27d136932b05e0ec258d293 100644
--- a/tools/telemetry/telemetry/core/browser.py
+++ b/tools/telemetry/telemetry/core/browser.py
@@ -215,6 +215,9 @@ class Browser(object):
if not len(result[process_type]):
continue
result[process_type].update(self._platform_backend.GetCpuTimestamp())
+
+ # Fetch system-wide CPU stats as well.
+ result['Global'] = self._platform_backend.GetGlobalCpuStats()
return result
@property

Powered by Google App Engine
This is Rietveld 408576698