This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Earliest Deadline Scheduling

Hi all, I am trying to implement Earliest deadline scheduling algorithm using MCBSTR9 board using RTX kernel. Can anybody tell me how to calculate the deadline of the current executing task when another task comes into active state for assigning the priorities of the tasks according to the deadline?

Thanks and regards
S.Pradeep

Parents
  • I would use absolute times for deadlines. All tasks are assigned an absolute deadline when they enter the system. If a task takes 40ms to complete its "deadline" is the current time plus 40ms (current time as of entering the systme). This tasks deadline is ALWAYS that original "current time" plus 40ms, not matter how long it has run.

Reply
  • I would use absolute times for deadlines. All tasks are assigned an absolute deadline when they enter the system. If a task takes 40ms to complete its "deadline" is the current time plus 40ms (current time as of entering the systme). This tasks deadline is ALWAYS that original "current time" plus 40ms, not matter how long it has run.

Children