473,395 Members | 1,379 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

How to get proper CPU uasge using GetProcessTimes API in multiprocessor system?

Hi,

I am using GetProcessTimes() API to calculate CPU usage of a process. In single processor system i get correct result , but in multiprocessor system i will get some abrupt and negative values. What should i do to get correct CPU usage using this API on multiprocessor system.

Thanks,
Viju
Oct 25 '07 #1
0 1876

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: samtan | last post by:
have to develop 4 windows .NET Services which perform similar (but not identical) tasks. These are to be run on a 2 processor Win2k Server. How do I perform processor load balancing? that is make...
2
by: Kevin | last post by:
I am currently importing data into Access 2002 from 3 Sybase ASA 7.0 databases over a network. At this time I am using a ODBC System DSN connection using the proper ASA 7 driver. I would like to...
6
by: Pujo Aji | last post by:
Hello, I'm looking some tutorial or book about programming C# multitreading in multiprocessor. Is anyone has experiance? Sincerely Yours, Pujo Aji
1
by: Ohaya | last post by:
Hi, We are running a website on a Windows 2000 Advanced Server machine with 4 CPUs and Hyperthreading enabled (i.e., 8 virtual processors). The web server is IIS5. Our application uses...
3
by: bonse | last post by:
According to reference http://support.microsoft.com/default.aspx?scid=kb;en-us;815156 , I added <processModel enable="true" webGarden="true" cpuMask="8" /> on web.config, restart iis service,...
4
by: Bob Altman | last post by:
Hi, Is there a way to detect when my program is running on a multiprocessor host computer?
0
by: jacky shi | last post by:
Hi,all: I find a problem in my program related with multiprocessor.The OS is windows, and when it run on a singleprocessor machine, it's OK. But If the machine is multiprocessor, there will be...
2
by: RSH | last post by:
I am trying really hard to grasp the concept of Interfaces and their real world usage. I constructed a simple project of a webpage that contains two controls. I am enabling communication back...
1
by: shrini | last post by:
Hi, Im using a map implementation that has structures as both the key and it value. Ive used as below: typedef struct RadioMeasurmentType { enum measurementId; uint32 radioCardId; uint32...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.