Index: tools/perf/metrics/timeline.py |
diff --git a/tools/perf/metrics/timeline.py b/tools/perf/metrics/timeline.py |
index c52435242670f2eb0d8e2238ccda4685d277a3b8..cfb24904897f2304d8935696a8fb439a1d97f175 100644 |
--- a/tools/perf/metrics/timeline.py |
+++ b/tools/perf/metrics/timeline.py |
@@ -31,8 +31,8 @@ class LoadTimesTimelineMetric(timeline_based_metric.TimelineBasedMetric): |
continue |
thread_name = thread.name.replace('/','_') |
- for e in thread.IterAllSlicesInRange(interaction_record.start, |
- interaction_record.end): |
+ for e in thread.IterAllSlicesInTimeRange(interaction_record.start, |
+ interaction_record.end): |
events_by_name[e.name].append(e) |
for event_name, event_group in events_by_name.iteritems(): |