101k views
4 votes
Clocks (also called timers) are essential to the operation of any multiprogrammed system. They maintain the time of day, and prevent one process from monopolizing the CPU. How are clocks implemented

User Zhen Liu
by
4.9k points

1 Answer

6 votes

Answer:

The answer is below

Step-by-step explanation:

The clock in the CPU is made of three elements including the following:

1. Crystal oscillator

2. A counter

3. A holding register

All these clock elements combined and generate interrupts at known periods or duration.

However, the clock has a powered battery back up which is implemented with a form of low-power circuitry similar to that of digital watches.

The purpose is to prohibit the current time from being failed when the computer is powered off or shut down.

User Allisen
by
4.9k points