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

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

Issue 165673008: [telemetry] Implement first version of timeline based measurement (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ready for landing Created 6 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/timeline/model.py
diff --git a/tools/telemetry/telemetry/core/timeline/model.py b/tools/telemetry/telemetry/core/timeline/model.py
index 832e6f8090588ae7ca15e041cd86b300100700c3..bf65a12ca40cb33a5cdd4b1209c2b68a39843611 100644
--- a/tools/telemetry/telemetry/core/timeline/model.py
+++ b/tools/telemetry/telemetry/core/timeline/model.py
@@ -227,6 +227,9 @@ class TimelineModel(object):
return events
def GetRendererProcessFromTab(self, tab):
+ return self._core_object_to_timeline_container_map[tab].parent
+
+ def GetRendererThreadFromTab(self, tab):
return self._core_object_to_timeline_container_map[tab]
def AddCoreObjectToContainerMapping(self, core_object, container):
« no previous file with comments | « tools/telemetry/telemetry/core/timeline/async_slice.py ('k') | tools/telemetry/unittest_data/interaction_enabled_page.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698