How can I get page faults statistics from kernel

Posted by osgx on Stack Overflow See other posts from Stack Overflow or by osgx
Published on 2010-04-04T01:15:44Z Indexed on 2010/04/04 1:23 UTC
Read the original article Hit count: 318

Hello

How can I get page faults statistics from kernel for my application while it is running? What about other events, like inter-cpu migrations count in SMP nodes, or number of context switches?

I want to count such events for various small parts of the program.

Thanks.

© Stack Overflow or respective owner

Related posts about Performance

Related posts about performancecounter