This preview shows page 1. Sign up to view the full content.
Unformatted text preview: ndaries are caused by timer interrupts. Figure 9.5 shows a portion of a trace when there is one other active process sharing the processor. The graphical rendition of this trace is shown in Figure 9.6. Note that the time scales do not line up, since the portion of the trace we show in Figure 9.5 started at 349.4 ms into the tracing process. In this example we can see that while handling some of the timer interrupts, the OS also decides to switch context from one process to another. As a result, each process is only active around 50% of the time. Practice Problem 9.2:
This problem concerns the interpretation of the section of the trace shown in Figure 9.5. A. At what times during this portion of the trace did timer interrupts occur? (Some of these time points can be extracted directly from the trace, while others must be estimated by interpolation.) B. Which of these occurred while the tracing process was active, and which while it was inactive? C. Why are the longest periods of inactivity longer than the longest periods of activity? D. Based on the pattern of active and inactive periods shown in this trace, wh...
View Full Document
This note was uploaded on 09/02/2010 for the course ELECTRICAL 360 taught by Professor Schultz during the Spring '10 term at BYU.
- Spring '10
- The American