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
As a group, you may need to make some enhancements to your development server (NOT your stable server!)  It needs to be able to run the makepasswd program, which may require instal

What makes a Just-in-Time inventory system differ from a traditional inventory system?

Explain the ThreadSwitchWithDelay Function used in Netware ThreadSwitchWithDelay( )   This command is used when threads are waiting for an event or resource but don't want t

swapping technique

Problem: a) Define a ‘file' and list the objectives of the file management system. b) List the ways in which programs access files and determine for what file types you woul

Q. Definition of Operating System? Definition of Operating System: • An Operating system is a program which controls execution of application programs and acts as an interfa

How is a process chosen for being swapped either in or out? Swap out: a.         If the process is idle. b.         If process has been in main memory for a long time.

Explain the TlsGetValue (TLSindex) Function Executing this function will return the thread local storage data associated with this thread. The pointer returned will be the one

example of first fit best fit and worst fit

What factors are involved in choosing the host operating system?