51Testing软件测试论坛

标题: 请问Privileged Time [打印本页]

作者: tonii    时间: 2007-1-8 11:34
标题: 请问Privileged Time
我在性能监视中,看到Privileged Time在33%~200%,平均是130%
看到有关介绍中说是“特权模式下处理线程执行代码所花时间的百分比”,但为何会超过100%呢?

请高手指点!!
作者: xiaoyao520    时间: 2007-1-8 14:49
Processor: % User Time
Processor: % Privileged Time
How often were all processors executing threads running in user mode and in privileged mode?
Threads running in user mode are probably running in their own application code. Threads running in privileged mode are using operating system services.
The user time and privileged time counters on the System and Processor objects do not always sum to 100%. They are measures of non-Idle time, so they sum to the total of non-idle time.
For example, if the processor was running the Idle thread for 85% of the time, the sum of Processor: % User Time and Processor: % Privileged Time would be 15%.




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2