I am currently trying to optimise the scheduler of FreeRTOS and in general Real-Time Operating Systems as a Project.
In FreeRTOS, and I suspect other RTOS as well, we don't specify the deadline for the tasks, not to mention the tasks would mostly be periodic.
How can we, if possible, generate the deadline for them?
Maybe a constant added to the time task reached the ready queue? Where the constant depends on the priority.
How should I go about it? Looking for suggestions...
In short, how can we implement something like Earliest Deadline First?
I am actually trying to implement Ant Colony Optimisation.
Edit: In FreeRTOS the API of OS doesn't need deadline to create Task, only Priority can be set.