views:

482

answers:

1

Vista's Resource Monitor includes a reading for "Hard Faults/sec". Is there an equivalent performance counter I can use in C# to get this reading? I've tried the "Page Faults/sec" under the memory category, but that appears to be something different.

+2  A: 

A hard fault is the same as a page fault.

Source: "Windows Vista Performance and Reliability Monitoring Step-by-Step Guide".

See section Resource View details, Label Memory (the 4th table):

A hard fault (also known as a page fault) occurs when the page of the referenced address is no longer in physical memory and has been swapped out or is available from a backing file on disk.

Peter Mortensen