Skip to content

Fix Multi-core Cross Scheduling #288

Le Van Truong requested to merge revert-883077ef into master

Hi Prof, In this merger request I have done:

  • Task will not change of core if current core is still available.
  • Enhance Multi-core scheduling:
    • With RoundRobin scheduling: tasks will be filled to the core with has the smallest end time and tasks are executed in parallel.
    • With RoundRobin-PriorityBase scheduling: tasks with highest priority will be filled to the core with has the smallest end time. Tasks with the same priority are executed in parallel, and when all the tasks with highest priority are terminated, the next tasks with the second highest priority are allowed to execute.
  • Change the state of tasks from "Terminated" to "Runable" when user starts the simulation.
  • Reset some variables to default when user hit reset simulation button.
  • Add tests for multi-core cross scheduming.
  • Fix and add comments to some deprecated functions.

Merge request reports