You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is retrievable via NtQuerySystemInformation which is currently used for per_cpu_times() but not for cpu_times() which uses GetSystemTimes which does not provide these two metrics. cpu_times() may change in order to use NtQuerySystemInformation and extend the namedutple with the new values.
The text was updated successfully, but these errors were encountered:
@wj32 in your opinion should interrupt and dpc times be excluded when calculating system-wide cpu percent? With this new feature the "busy time" is now calculated like this:
times_all = user + system + idle + interrupt + dpc
times_busy = times_all - idle
SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION
structure provides DPC time and interrupt time:This is retrievable via
NtQuerySystemInformation
which is currently used forper_cpu_times()
but not forcpu_times()
which usesGetSystemTimes
which does not provide these two metrics. cpu_times() may change in order to useNtQuerySystemInformation
and extend the namedutple with the new values.The text was updated successfully, but these errors were encountered: