what does Cpu do in idle time?_yangzifeiyu_新浪博客

A is described as idle when it is not being used by any .

Programs which make use of CPU Idle Time mean that they run at a low priority so as not to impact programs that run at normal priority. Many programs that use CPU idle time cause the CPU to always be {bfb} utilized, so that the time spent where the CPU would have been idle is instead spent performing useful computations. This generally causes the CPU to consume more power as most modern CPUs can enter power-save modes when they are idle.

Most operating systems will display an idle task, which is a special task loaded by the OS only when there is nothing for the computer to do. The idle task can be hard-coded into the scheduler, or it can be implemented as a separate task with the lowest possible priority. An advantage of the latter approach is that programs monitoring the system status can see the idle task along with all other tasks; an example is 's .

On modern processors, where a (halt) instruction saves significant amounts of power and heat, the idle task almost always consists of a loop which repeatedly executes instructions. However, on older computers, where energy dissipation was almost constant with CPU load, the program would often do useless things, like blink the lights in an amusing or recognizable pattern.

郑重声明:资讯 【what does Cpu do in idle time?_yangzifeiyu_新浪博客】由 发布,版权归原作者及其所在单位,其原创性以及文中陈述文字和内容未经(企业库qiyeku.com)证实,请读者仅作参考,并请自行核实相关内容。若本文有侵犯到您的版权, 请你提供相关证明及申请并与我们联系(qiyeku # qq.com)或【在线投诉】,我们审核后将会尽快处理。
—— 相关资讯 ——