跳转到主内容

How does my computer know what time it is?

Every time I turn on my computer it knows exactly the right time. How does it keep track even when the computer is off?

已回答! 显示答案 我也有这个问题

这是一个好问题吗?

得分 3
添加一条评论

2个答案

已选择的解决方案

Most computers actually contain what is essentially a miniature Quartz watch inside them that is powered by the CMOS battery. This is evident in the BIOS (or UEFI in more modern computers) since the clock still ticks without the network. Without power, it continues to tick due to the CMOS battery, again evident by booting into the BIOS/UEFI. When you do end up getting internet, it'll recalibrate itself with a server, all the while with the miniature Quartz watch still ticking.

这个答案有帮助吗?

得分 6
添加一条评论
最有帮助的答案

Computers have a low-power internal clock that runs when the machine is powered off. It's called a CMOS clock. It essentially uses the same amount of power as a wrist watch and stores that in a low-power memory chip and updates your machine when it powers back on. Then, when your computer gets the actual time from a server of from some other command, it updates the CMOS chip so that it can remember the current time the next time it's turned off.

Article here:

http://wiki.osdev.org/CMOS

这个答案有帮助吗?

得分 6
添加一条评论

添加你的答案

David Lennon 将永远感激不已
浏览统计数据:

过去 24 小时: 1

过去 7 天: 5

过去 30 天: 24

总计 14,626