假设一段时间total内,该任务的运行时间为idle,cpu利用率的计算公式为(total-idle)%total。 这一种方法实现起来很简单,但是它只能算得整个系统的cpu使用情况,不能得到单个任务 的cpu使用情况!
基于1个网页-相关网页
The nt PerfMon utility defines this metric as follows, "the % Total processor time is the average percentage of time that all the processors on the system are busy executing non-idle threads."
NT PerfMon实用工具对这一指标的定义如下:“% Total Processor time指系统上所有处理器执行非空闲线程的平均时间百分比。”
For diesel locomotive in China the idle hours take up 30% of the total operating time, and the fuel oil is consumed in a great quantity.
我国铁路内燃机车惰性运转的时间占全部运转时间的30 %,消耗大量的燃油。
应用推荐