You are on page 1of 2

Class Test – Part 6

For a Car Controller scheduler, Let C = worst case execution time, T =


(sampling) period, D = deadline.
a> Speed Measurement : C = 4ms, T = 20ms, D = 20ms
b> ABS Control : C = 10ms, T = 40ms, D = 40ms
c> Fuel Injection : C = 40ms, T = 80ms, D = 80ms

1> Are the set of tasks schedulable.

2> Create a time table of the tasks (schedulable or non-schedulable). If there is a slack, mention the
same.

3> What is the CPU utilization.

4> Assume that each context switch takes 0.25ms. Redraw the time table of the tasks.
1> The set of tasks are schedulable.
2> Timetable is as follows, Initial slack is 4ms

3> Cpu Utilization is 95%


4> Context switch happens 10 times (10 if you consider that next cycle it will again begin at SPD ‘0’)
If answer is 9 times also it can be treated as benefit of doubt. The CPU utilization would be
97.5%

You might also like