0% found this document useful (0 votes)
18 views1 page

Timers and Time Management

System timers are programmable hardware that issue interrupts at a fixed frequency handled by timer handlers. Dynamic timers are used by the kernel to schedule events that run once after a specified time elapses. The kernel maintains two notions of time - wall time representing the time of day, and system uptime tracking time since boot. Timers allow functions to be delayed and run asynchronously in the kernel.

Uploaded by

avadcs
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views1 page

Timers and Time Management

System timers are programmable hardware that issue interrupts at a fixed frequency handled by timer handlers. Dynamic timers are used by the kernel to schedule events that run once after a specified time elapses. The kernel maintains two notions of time - wall time representing the time of day, and system uptime tracking time since boot. Timers allow functions to be delayed and run asynchronously in the kernel.

Uploaded by

avadcs
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Timers and Time Management

1. What is a system timer? a. System timer is programmable piece of hardware that issues an interrupt at a fixed frequency 2. What is a timer handler? a. It is interrupt handler that handles timer interrupt 3. What are dynamic timers? a. Dynamic timers are timers that are used to schedule events that run once when specified amount of time is elapsed. 4. Who creates and destroys dynamic timers? a. Kernel 5. What is kernel notion of time? a. Kernel maintains time in two quantities namely wall time and system uptime 6. What is wall time? a. Wall time is time of the day 7. What is system uptime? a. System time is relative time since system booted up. 8. What is tick rate? a. System timer goes off at a preprogrammed frequency called tick rate 9. What is HZ value? a. HZ value is frequency of system timer. It is defined in preprocessor #define HZ 10. What is a jiffie? a. Jiffie is global variable. It holds the number of ticks that have occurred since the system is booted. 11. What is real time clock? a. Real Time Clock (RTC) provides a non-volatile device for storing system time. i. RTC keeps track of time even when the system is off. 12. What are timers? a. Timer code manages flow of time in kernel code. They are also called dynamic timers or kernel timers. 13. Using timers? a. Purpose of time is to delay execution of some function in later time. 14. Timers run asynchronously with respect to the currently executing code.

You might also like