I am doing a project on Linux scheduler that tries to minimize number of page faults.
I have finished the algorithm implementation, and I need to measure the effect. I am wondering if Linux provides tools to the record number of page faults that have happened during the whole execution process?
Basically, I want something like
$ pfstat ./a.out
page faults: 3
Execution Time: 1003 ms
Is there such a tool? I want to make sure before deciding to write one by myself, which will be a lot of work...