1
100 % 이상 :성능 카운터 나는이 유사한 코드 뭔가를 사용하는 응용 프로그램에 대한 정기적 인 하트 비트의 일환으로 프로세스의 CPU 사용률을 추적하고 있습니다
var process = Process.GetCurrentProcess();
_processCpuCounter = new PerformanceCounter("Process", "% Processor Time", process.ProcessName);
...
...
...
var processCPU = Convert.ToInt32(_processCpuCounter.NextValue());
NextValue 한 번만 분당 평가된다.
나는 processCPU
값이 100 %보다 큰 것을 관찰했습니다. 왜 수학적으로 이것이 일어날 지 설명 할 수 있습니까?
이 답변은 또한 CPU 당 100 %를 언급합니다. - http://stackoverflow.com/questions/11504438/correct-way-to-use-performancecounter-in-net-to-measure-cpu-usage – AwkwardCoder