diff --git a/simulator.py b/simulator.py index 6de1cee2..a752c58f 100644 --- a/simulator.py +++ b/simulator.py @@ -1232,7 +1232,7 @@ def __handle_task_finished(self, event: Event) -> None: # Remove the task from it's task graph's current placements del self._current_task_graph_placements[event.task.task_graph][event.task.id] - event.task.finish() + event.task.finish(event.time) # Log the TASK_FINISHED event into the CSV. self._finished_tasks += 1