Question: Maintaining a system clock that can be read by any user program requires only that the operating system read a physical device (keeping physical time)

Maintaining a system clock that can be read by any user program requires only that the operating system read a physical device (keeping physical time) and then write the time into a globally readable variable. Suppose the time to read the physical clock and to update the variable is 100 microseconds. What percentage of the total CPU time is spent maintaining a clock that is accurate to the millisecond resolution (that is, the clock always reflects the correct time to the closest millisecond)? The 100 microsecond resolution? The 10 microsecond resolution? Explain your rationale.

Step by Step Solution

3.51 Rating (168 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Millisecond accuracy implies that the memory cell must be updated at least once every 103 seconds ie ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (1 attachment)

Word file Icon

34-E-CE-OS (405).docx

120 KBs Word File

Students Have Also Explored These Related Computer Engineering Questions!