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

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

Issue 100073003: telemetry: Add thread time to telmetry timeline. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Clean-ups Created 7 years 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/slice.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 1b65d66f4164141d88688230b0becef556d300ad..d249fff7f7c13beeb6f255e2c88a2b1af07d5698 100644
--- a/tools/telemetry/telemetry/core/timeline/process.py
+++ b/tools/telemetry/telemetry/core/timeline/process.py
@@ -61,9 +61,9 @@ class Process(event_container.TimelineEventContainer):
self._counters[ctr.full_name] = ctr
return ctr
- def AutoCloseOpenSlices(self, max_timestamp):
+ def AutoCloseOpenSlices(self, max_timestamp, max_thread_timestamp):
for thread in self._threads.itervalues():
- thread.AutoCloseOpenSlices(max_timestamp)
+ thread.AutoCloseOpenSlices(max_timestamp, max_thread_timestamp)
def FinalizeImport(self):
for thread in self._threads.itervalues():
« no previous file with comments | « tools/telemetry/telemetry/core/timeline/model.py ('k') | tools/telemetry/telemetry/core/timeline/slice.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698