This notion of mapping a set of contiguous virtual

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: a counter that is incremented by one every time a timer interrupt occurs. When the system executes sleep(Ü), the system schedules the process to be restarted when the counter reaches Ø · ½¼¼ Ü, where Ø is the current value of the counter. A. Let Û denote the time that our process is inactive due to the call to sleep. Ignoring the various overheads of function calls, timer interrupts, etc., what range of values can Û have? B. Suppose a call to mhz yields 1000.0. Again ignoring the various overheads, what is the possible range of the true clock rate? 484 CHAPTER 9. MEASURING PROGRAM EXECUTION TIME Chapter 10 Virtual Memory Processes in a system share the CPU and main memory with other processes. However, sharing the main memory poses some special challenges. As demand on the CPU increases, processes slow down in some reasonably smooth way. But if too many processes need too much memory, then some of them will simply not be able to run. When a program is out of space, it is out of luck. Memory is also vulnerable to corruption....
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.

Ask a homework question - tutors are online