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