计算机是如何记录时间的? [英] How do computers keep track of time?

查看:47
本文介绍了计算机是如何记录时间的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

时间在计算机中是如何表示的?我的意思是计算机不是尽可能快地完成所有计算吗?如果事情在不同的机器上以不同的速度运行,你如何跟踪时间的流逝?

How is time represented in the the computer? I mean doesn't the computer do all computations as fast as it can? How do you keep track of the passage of time if things run at various speeds on various machines?

推荐答案

计算机记录时间的方式和你我一样——使用时钟!即使 CPU 断电,实时时钟也会运行.它与 CPU 的时钟周期"完全分开.在 PC 上,当计算机未插入外部电源时,时钟依靠电池运行.

Computers keep track of time they same way you or I do - with a clock! The Real Time Clock runs even when the CPU is powered off. It's completely separate from the "clock cycles" of the CPU. On PCs, the clock runs on a battery when the computer is not plugged into an external power source.

这篇关于计算机是如何记录时间的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆