Answer the question
In order to leave comments, you need to log in
How to programmatically detect CPU and memory usage?
How can I determine the load of the Central Processor and memory? For example, in the Windows Task Manager, you can see how much the processor and RAM are loaded. I did not find in MSDN how to define such information. I would like to write a program either in C++ or C#.
Answer the question
In order to leave comments, you need to log in
Dig around here if you need accuracy. True, I don’t know if the userspace measures the load of the CPU or the core there.
I don’t know how relevant the information is, but there seems to be an example of a function:
www.rsdn.ru/forum/winapi/1282671.all
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question