次のようなコードを使用して、アプリケーションの通常のハートビートの一部としてプロセスの CPU 使用率を追跡しています。
var process = Process.GetCurrentProcess();
_processCpuCounter = new PerformanceCounter("Process", "% Processor Time", process.ProcessName);
...
...
...
var processCPU = Convert.ToInt32(_processCpuCounter.NextValue());
NextValue は 1 分間に 1 回だけ評価されます。
値が 100% を超えていることを確認しましたがprocessCPU
、数学的に意味がないので、なぜこれが起こるのか説明できますか?