4 ms·
Perf is a great way to generate data for offline analysis. But it lacks a gui, and its text mode interface is very sparse. The good news is, it is an very soli
by hasmanean 5y ago
Perf is a great way to generate data for offline analysis. But it lacks a gui, and its text mode interface is very sparse.
The good news is, it is an very solid foundation to build on. They got the fundamentals right.
If you’re profiling short pieces of code PAPI might be better. It lets you bracket code snippets with its function calls and get performance counter data. So you can count instructions, memory accesses etc.