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

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

Issue 132433004: Collecting LatencyInfo in telemetry (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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
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 cb37c2273514dffe8dc547ebf229af98e2095201..191d0fed7c27478e6d8f5e7b53953ab5a96fcbf9 100644
--- a/tools/telemetry/telemetry/core/timeline/model.py
+++ b/tools/telemetry/telemetry/core/timeline/model.py
@@ -140,6 +140,9 @@ class TimelineModel(object):
def GetAllProcesses(self):
return self._processes.values()
+ def GetProcess(self, pid):
nduca 2014/01/13 18:49:32 why not just model.process[pid]?
Yufeng Shen (Slow to review) 2014/01/14 00:05:47 removed.
+ return self._processes[pid]
+
def GetAllThreads(self):
threads = []
for process in self._processes.values():

Powered by Google App Engine
This is Rietveld 408576698