-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CPU usage #55
Comments
Same here, sometimes I get 6000% with a process that uses openmp, even if I divide the percentage by my number of CPUs (8), the resultant percentage does not make sense to me. I would it be nice if someone can explain us why percentage exceed 100%. Cheers |
From what I have seen using other libraries, it seems the usage is of all threads. It can be that program is using only 6 threads. It's a theory tho. I can't say if it is true or not. |
In some cases this can be due to multi-threading, but I sometimes see this for single-threaded processes, and it can usually be fixed by specifying the interval explicitly, e.g. |
just for the record, I observed the same behavior and as psrecord is using the function
|
Related question in psutil. |
Why does the percentage of CPU usage exceed 100%? I do not understand why the values written to the log file exceed 100.
thx for the help.
The text was updated successfully, but these errors were encountered: