Question: A processor with a 5 0 0 M H z clock requires 1 0 0 0 clock cycles to perform a context switch and start
A processor with a clock requires clock cycles to perform a context switch and start an ISR. Assume each interrupt takes cycles to execute the ISR and the device makes interrupt requests per second. Also, assume that the processor polls every msec during the time when there are no interrupts. Further assume that polling an IO device requires cycles. Compute the following:
a How many cycles per second does the processor spend handling IO from the device if only interrupts are used? marks
b What fraction of the CPU time is used in interrupt handling for part? marks
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
