Вопрос

Both Task Manager and SysInternals Process Explorer show the total amount of a process's page-fault, but all Performance Counters and WMI objects I found show only Page-Faults per second,

Is there a different API or some obscure performance counter that does show the total amount of Page-Faults for a certain process? (on Windows)

Это было полезно?

Решение

GetProcessMemoryInfo's PROCESS_MEMORY_COUNTERS has a count in PageFaultCount.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top