Hi,

The CPU usage goes high above 90% in most of the case when running a process.
How do i check the CPU usage in case of single and mutiple processors are
present in the system. What is the API that needs to be used?

Thanks
JP

Re: CPU usage check by Igor

Igor
Fri Oct 27 10:02:43 CDT 2006

JP <JP@discussions.microsoft.com> wrote:
> How do i check the CPU usage in case of single and mutiple
> processors are present in the system.

It's available as a performance counter:

http://windowssdk.msdn.microsoft.com/en-us/library/ms712497.aspx

--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925