Jump to content

Calculate the CPU Usage


 Share

Recommended Posts

Hello everyone! I have a question regardig the calculation of the CPU Utilization. When I open the Taskmanager I can check the CPU Utilization. Can someone explain me how it is calculated? I am more intersted in the mathematical approach of this problem. Is there any algorithm that is used to calculate that? What are the constants/variables that must be used? I need to find a way to calculate the CPU Utilization in % for my current project. Thanks!

Link to comment
Share on other sites

  • Moderators

The search feature is your friend; this has been addressed many, many times. There are even some UDFs out there for capturing the performance counters and statistics.

 

Just one of the many examples you'll come across if you search:

 

This one (a little older) even delves into some of the math you're asking about:

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...