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

Unified Diff: tools/telemetry/telemetry/timeline/model.py

Issue 847433005: Revert of Revert of Add explicit support for discovering the GpuProcess to Telemetry's 'Model'. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | tools/telemetry/telemetry/timeline/trace_event_importer.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/timeline/model.py
diff --git a/tools/telemetry/telemetry/timeline/model.py b/tools/telemetry/telemetry/timeline/model.py
index a5b0b10163a71a8f5c21cd53e7178756c8be8b21..c4d4bff2d0ce46d75f8709aa27a4bc01ae4accda 100644
--- a/tools/telemetry/telemetry/timeline/model.py
+++ b/tools/telemetry/telemetry/timeline/model.py
@@ -62,6 +62,7 @@
self._thread_time_bounds = {}
self._processes = {}
self._browser_process = None
+ self._gpu_process = None
self._surface_flinger_process = None
self._frozen = False
self._tab_ids_to_renderer_threads_map = {}
@@ -101,6 +102,16 @@
#pylint: disable=E0202
def browser_process(self, browser_process):
self._browser_process = browser_process
+
+ @property
+ #pylint: disable=E0202
+ def gpu_process(self):
+ return self._gpu_process
+
+ @gpu_process.setter
+ #pylint: disable=E0202
+ def gpu_process(self, gpu_process):
+ self._gpu_process = gpu_process
@property
#pylint: disable=E0202
« no previous file with comments | « no previous file | tools/telemetry/telemetry/timeline/trace_event_importer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698