Skip to content

Commit

Permalink
reorder event queue priority to process scheduler events before task …
Browse files Browse the repository at this point in the history
…placement
  • Loading branch information
Dhruv Garg committed Dec 3, 2024
1 parent 14190ad commit e2636f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ class EventType(Enum):
TASK_PREEMPT = 7 # Ask the simulator to preempt a task.
TASK_MIGRATION = 8 # Ask the simulator to migrate a task.
LOAD_PROFILE = 9 # Ask the simulator to load a profile into the WorkerPool.
TASK_PLACEMENT = 10 # Ask the simulator to place a task.
SCHEDULER_START = 11 # Requires the simulator to invoke the scheduler.
SCHEDULER_FINISHED = 12 # Signifies the end of the scheduler loop.
SCHEDULER_START = 10 # Requires the simulator to invoke the scheduler.
SCHEDULER_FINISHED = 11 # Signifies the end of the scheduler loop.
TASK_PLACEMENT = 12 # Ask the simulator to place a task.
SIMULATOR_END = 13 # Signify the end of the simulator loop.
LOG_UTILIZATION = 14 # Ask the simulator to log worker pool utilization.
LOG_STATS = 15 # Log simulator statistics
Expand Down

0 comments on commit e2636f6

Please sign in to comment.