gpt4 book ai didi

hardware - 函数 time() 如何告诉当前时间,甚至计算机何时已提前关闭?

转载 作者:行者123 更新时间:2023-12-04 02:30:35 28 4
gpt4 key购买 nike

我们如何处理毫秒(0.001)的计时器交易,我们如何根据需要划分秒?我们如何处理第二个本身???

最佳答案

http://computer.howstuffworks.com/question319.htm

In your computer (as well as other gadgets), the battery powers a chip called the Real Time Clock (RTC) chip. The RTC is essentially a quartz watch that runs all the time, whether or not the computer has power. The battery powers this clock. When the computer boots up, part of the process is to query the RTC to get the correct time and date. A little quartz clock like this might run for five to seven years off of a small battery. Then it is time to replace the battery.

关于hardware - 函数 time() 如何告诉当前时间,甚至计算机何时已提前关闭?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/973524/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com