D
D
dark_ser2022-01-07 03:50:20
Computers
dark_ser, 2022-01-07 03:50:20

On what digital element is the system time built and how does it function?

The computer has several timers (system time, real time, etc.). On what digital element it is built and how it functions.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vasily Bannikov, 2022-01-07
@vabka

To keep track of time on the motherboard, RTC costs (for the sake of it, the battery costs).
All sorts of high-precision timers are like a feature of the processor

M
Mercury13, 2022-01-07
@Mercury13

Actually there are three main sources of time in the computer.
1. Real time clock. As the name says, it contains a battery and maintains the system time even when the computer is turned off. Accuracy is traditionally 1 second. More accurate time can be obtained by combining RTC and programmable timer.
2. Programmable timer - traditionally 18.2 ticks per second, but it can seem to be up to 1000. With each tick, it causes an interrupt. In multitasking operating systems like Windows and Linux, we cannot control the programmable timer, because it is used by the task scheduler, but a good API is written around it.
3. Processor cycle counter - for managing multimedia and games with a variable frame rate. It is the most accurate (by resolution) time source available, but also the most complex.

V
VT100, 2022-01-07
@VT100

On counters. A known frequency is applied to the clock input of the counter, for each pulse the contents of the counter register are increased by 1. Recalculation of the accumulated pulses in time and date can be both hardware and software.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question