Open Peng-wei-Yu opened 1 year ago
I also found the same problem
Please see this:https://psutil.readthedocs.io/en/latest/#psutil.Process.cpu_percent , it may answer your question.In general, the value calculated on the Windows system needs to be divided by the number of CPU logical cores to be consistent with the value of the task manager.
Actually this can be reproduced on Intel i7-12700K as well.
@RLYRLY This relates to cpu_present call for a process. If you call this as psutil.cpu_percent
(link) value should be close to task manager. However this does not work for Win 11. Anyhow the cpu load reported by psutil should not be lower than the value in task manager, unlike we see here.
I also encountered this issue with Xeon CPU on Win 11 platform.
Summary
Description