Real-Time Operating Systems
Real-Time Operating Systems
Real-Time Operating Systems
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Cyclic executive approach<br />
¿ Schedule is essentially a table of procedure call<br />
¿ Tasks are mapped onto a set of minor cycles<br />
¿ The set of minor cycles constitute a major cycle (the<br />
complete schedule)<br />
¿ Typically:<br />
¿ Major cycle M = max. period among task set<br />
¿ Minor cycle m = min. period among task set<br />
¿ Must be: M = k·m<br />
65<br />
Cyclic executive approach: example<br />
¿ Task set<br />
Process period,T Computation <strong>Time</strong>. C<br />
----------------------------------------------------------------<br />
A 25 10<br />
B 25 8<br />
C 50 5<br />
D 50 4<br />
E 100 2<br />
¿ Schedule:<br />
Minor cycle<br />
(25)<br />
Minor cycle<br />
(25)<br />
Major cycle<br />
(100)<br />
Minor cycle<br />
(25)<br />
Minor cycle<br />
(25)<br />
A B C A B D E A B C A B<br />
D<br />
23 24 23<br />
22<br />
66<br />
33