Timers could be utilized to compute the current time, Operating System

Q. Timers could be utilized to compute the current time. Provide a little description of how this could be accomplished.

Answer: A program could utilize the following approach to compute the current time using timer interrupts. The program could set a timer for a while in the future and go to sleep. When it is wake by the interrupt it could update its local state which it is using to keep track of the number of interrupts it has received thus far. It could then replicate this process of continually setting timer interrupts and updating its local state when the interrupts are actually raised.

Posted Date: 7/27/2013 2:14:40 AM | Location : United States







Related Discussions:- Timers could be utilized to compute the current time, Assignment Help, Ask Question on Timers could be utilized to compute the current time, Get Answer, Expert's Help, Timers could be utilized to compute the current time Discussions

Write discussion on Timers could be utilized to compute the current time
Your posts are moderated
Related Questions
Deadlocks can be detected while the program is running, by running cycle detection algorithms on the graph that de?nes the current use of resources. De?ne this graph as follows:

Q. What is the basic function of Assembler ? Input to an assembler is an assembly language program. Output is an object program and information which enables the loader to prep

expalin about the design issues of network operating system

MEMORY MANAGEMENT USING BUDDY SUSTEM Here we are dividing the memory as powers of two as well as we are selecting the space which is smallest but large enough to hold a process

Discuss the high barriers to entry in the market for PL operating systems

explain in detail about ipc in linux

Why is rotational latency usually not considered in disk scheduling? How would you modify SSTF, SCAN, and C-SCAN to include latency optimization? Most disks do not export their

write a linux command to display lines from 25 - 45 of directory "/edc/password" write a linux command to display directory in /edc


Describe paging technique used in UNIX systems. When a process begin in UNIX, not every its memory pages are read in from the disk at once. In its place, the kernel loads into