I want to profile an application's critical path by taking readings of the performance counters at various points along the path.
I came across libperf
which provides a fairly neat C api. However, the last activity was 3 years ago.
I am also aware of the PAPI
. This is under active development.
- Are there other libraries I should be aware of?
- Can anyone offer any insight into using one or the other?
- Any tutorials / introductions to integrating these into application code?