[*] NT: uInterruptTime was in uInterruptTime and uKernelTime

This commit is contained in:
Reece Wilson 2024-12-29 13:30:45 +00:00
parent 2c39954c20
commit 0692042fd7

View File

@ -354,8 +354,9 @@ namespace Aurora::HWInfo
coreTimes.uKernelTime = ConvertTicks(processorInfo[uCore].KernelTime.QuadPart);
coreTimes.uUserTime = ConvertTicks(processorInfo[uCore].UserTime.QuadPart);
coreTimes.uKernelTime -= coreTimes.uIdleTime;
coreTimes.uKernelTime += ConvertTicks(processorInfo[uCore].DpcTime.QuadPart);
//coreTimes.uKernelTime += ConvertTicks(processorInfo[uCore].DpcTime.QuadPart);
coreTimes.uInterruptTime = ConvertTicks(processorInfo[uCore].InterruptTime.QuadPart);
coreTimes.uKernelTime -= coreTimes.uInterruptTime;
coreTimes.uUptime = coreTimes.uKernelTime +
coreTimes.uUserTime +