Question: Embedded systems -A system has three tasks that need to run. Their execution times are as follows: (1) A system has three tasks that need
(1) A system has three tasks that need to run. Their execution times are as follows: Task 1:80ms Task 2: 55ms Task 3: 75ms Assume a 5ms delay for context switching for both storing and restoring. Under a round-robin scheduling strategy with a 15ms interrupt rate, find the worst time it takes to execute task 2 (assume that tasks are executed as follows: Task1, Task2, Task3, Task1 a- b- Under a preemptive priority system, if the tasks arrive in the order 1,2, 3, with 20ms between each, what is the time needed to complete task 2? Assume the task priorities are 2, 1, 3 respectively, with 1 being the highest (this means that Task3 has the lowest priority and Task2 has the highest priority)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
