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

Unified Diff: tools/telemetry/telemetry/core/timeline/counter.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/perf/metrics/rendering_stats_unittest.py ('k') | tools/telemetry/telemetry/core/timeline/event.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/core/timeline/counter.py
diff --git a/tools/telemetry/telemetry/core/timeline/counter.py b/tools/telemetry/telemetry/core/timeline/counter.py
index f21f5162fe487a3979ba96c3816ca9919993c1b4..a35bf2ba7ad63b23adc01f42ed79c3b54da097df 100644
--- a/tools/telemetry/telemetry/core/timeline/counter.py
+++ b/tools/telemetry/telemetry/core/timeline/counter.py
@@ -32,6 +32,18 @@ class CounterSample(object):
def end(self):
return self.start
+ @property
+ def thread_start(self):
+ return None
+
+ @property
+ def thread_duration(self):
+ return None
+
+ @property
+ def thread_end(self):
+ return None
+
class Counter(event_container.TimelineEventContainer):
""" Stores all the samples for a given counter.
« no previous file with comments | « tools/perf/metrics/rendering_stats_unittest.py ('k') | tools/telemetry/telemetry/core/timeline/event.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698