I'm kinda puzzled if I should avoid calling procGetPerformanceInfo and stick to computing commit stats from memoryStatusEx.ullTotalPageFile and memoryStatusEx.ullAvailPageFile or expose pagefile stats and compute it in final application.
However, I chose this implementation because it is more aligned with the terminology used by Windows Task Manager and Powershell's Get-Counter, both of which refer to "commit" rather than "pagefile."
I'm kinda puzzled if I should avoid calling
procGetPerformanceInfo
and stick to computing commit stats frommemoryStatusEx.ullTotalPageFile
andmemoryStatusEx.ullAvailPageFile
or expose pagefile stats and compute it in final application.However, I chose this implementation because it is more aligned with the terminology used by Windows Task Manager and Powershell's
Get-Counter
, both of which refer to "commit" rather than "pagefile."Closes #1719