First time here? Check out the FAQ!
x

Calculating the IDLE time of a process.

0 votes
asked by about Mz Cpu Accelerator
edited by

How can we calculate idle time of a process? We are playing a game on how much CPU power is utilized or free at that time.

1 Answer

0 votes
answered by (329k points)

You can't calculate the IDLE time unless you have the right tool. For the basic principle, the IDLE time of a process is calculated based on an interval of time and how many times the process was used. The process is in IDLE mode if the application corresponding for that process isn't used. You will need a tool to specifically monitor the idle time of a process. The application above switches the affinity and the priority of a process by setting some variables to increase the CPU power and allocation. This results in faster processing for the application, but the OS and other applications will suffer.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register
...