%Processor Time计数器和多个CPU [英] %Processor Time counter and Multiple CPUs

查看:381
本文介绍了%Processor Time计数器和多个CPU的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用%Processor Time计数器监视双处理器Windows 2003 SP2盒子上的进程。回顾日志,它说该过程一直在使用几乎100%的CPU,但当我在任务管理器中观察进程窗口时,我可以看到该进程仅使用大约50%的CPU。这是否意味着我的日志中使用的%Processor Time计数器特定于特定CPU,而任务管理器的Processes窗口中使用的CPU百分比考虑了机器上的两个CPU?

如果是这种情况,是否意味着任何给定的进程在运行时一次只能驻留在一个处理器上?

I've been monitoring a process on a dual processor Windows 2003 SP2 box using the %Processor Time counter. Looking back at the log it says that the process was constantly using nearly 100% CPU but when I was watching the Processes window in task manager I could see the process was only using roughly 50% CPU. So does that mean that the %Processor Time counter used in my log is specific to a particular CPU while the % of CPU used in the Processes window of Task Manager takes into account both CPUs on the machine?

If that is the case does that mean that any given process can only reside on one processor at a time whilst it is being run?

推荐答案


hi broonie27,
Hi broonie27,


这篇关于%Processor Time计数器和多个CPU的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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