summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--unit_trace/viz/schedule.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/unit_trace/viz/schedule.py b/unit_trace/viz/schedule.py
index ec6398d..542524b 100644
--- a/unit_trace/viz/schedule.py
+++ b/unit_trace/viz/schedule.py
@@ -250,7 +250,7 @@ class Schedule(object):
250 for event in EVENT_LIST: 250 for event in EVENT_LIST:
251 switch_event = switches[event] 251 switch_event = switches[event]
252 if switch_event is not None: 252 if switch_event is not None:
253 event.fill_span_event_from_start() 253 switch_event.fill_span_event_from_start()
254 254
255 # add events that correspond to the tasks and CPUS, at the very beginning 255 # add events that correspond to the tasks and CPUS, at the very beginning
256 self.time_slot_array.add_item_dummies(self) 256 self.time_slot_array.add_item_dummies(self)