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

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

Issue 144423003: Make timeline model able to return browser process (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: get browser process through thread "CrBrowserMain" Created 6 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 | « tools/telemetry/telemetry/core/timeline/model.py ('k') | tools/telemetry/telemetry/core/timeline/thread.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/core/timeline/process.py
diff --git a/tools/telemetry/telemetry/core/timeline/process.py b/tools/telemetry/telemetry/core/timeline/process.py
index 60e0fa017fef7104a0f8ae71623c013c6f4c4e72..0dbf68aa3e5ecd68fa2d9fe307ed7d513729391c 100644
--- a/tools/telemetry/telemetry/core/timeline/process.py
+++ b/tools/telemetry/telemetry/core/timeline/process.py
@@ -34,6 +34,11 @@ class Process(event_container.TimelineEventContainer):
for s in thread.IterAllSlicesOfName(name):
yield s
+ def IterAllAsyncSlicesOfName(self, name):
+ for thread in self._threads.itervalues():
+ for s in thread.IterAllAsyncSlicesOfName(name):
+ yield s
+
def IterEventsInThisContainer(self):
return
yield # pylint: disable=W0101
« no previous file with comments | « tools/telemetry/telemetry/core/timeline/model.py ('k') | tools/telemetry/telemetry/core/timeline/thread.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698