12
CPU Time vs Usage
(ani.social)
Community for discussing enterprise networks and the ensuing chaos that comes after inheriting or building one.
You are correct. Here’s a thread on how CPU usage is calculated:
https://stackoverflow.com/questions/3748136/how-is-cpu-usage-calculated
It’s basically (CPU time of the process) / (clock time), or (CPU time)/(clock time * number of hardware threads), depending on how it’s reported.
Note that there’s are some complications here, like the time “wasted” context switching or running the OS.
Thanks, good thread. I'm not sure if that's one I referenced to confirm what I suspected, but it is very clear.