Suppose that we have the following interrupt tasks to perform.
| Task |
Priority |
Run Time |
Dead- line |
Event Freq. |
Event Period |
CPU Load |
| A | 1 | 2 ms | 5 ms | 200 Hz | | |
| B | 2 | | 9 ms | 100 Hz | | 40 % |
| C | 4 | 1 ms | 13 ms | | 100 ms | |
As with the homework, assume that:
- All requests are buffered. If multiple tasks occur while
the CPU is busy, they will be sequentially processed when the
task is scheduled until either:
- The CPU is interrupted with a higher priority interrupt -or-
- There are no more tasks to process.
- Write infinity if the task will eventually have an infinite
worst-case delay.
- Interrupts with lower-numbered priorities
are always serviced before higher-numbered priorities.
- The time to switch between interrupts is negligable.
- All numbers are specified in decimal (base 10).