I
I
iDennis2014-11-23 16:36:20
PHP
iDennis, 2014-11-23 16:36:20

How does a computer navigate time?

How does the computer determine that a certain period of time has passed?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
J
jcmvbkbc, 2014-11-23
@jcmvbkbc

Depends on whether it's on or off.
When off, the time "ticks" in the Real Time Clock chip. It can be either a separate chip or part of a chipset or SoC.
When enabled -- depends on the operating system and its configuration. linux sets up hardware timers that generate interrupts and in the interrupt handler adds to the current time as much as the timer was last set. In addition, there are network services that give the current time using the Nrtwork Time Protocol, operating systems can periodically synchronize with these services.
During power-up, the OS reads the current time value from the RTC, and by a special command it can write the current time back to the RTC.

S
Sergey, 2014-11-23
Protko @Fesor

You apparently haven't changed the battery on the motherboard yet... There is such a thing as RTC, which are now integrated into the south bridge of the motherboard.

A
Andrey Golubkov, 2014-11-23
@Android97

In the BIOS, the time is configured, on the motherboard there is a "clock" that works regardless of the computer. They are battery powered.
If you remove the battery, the clock will reset.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question