Information:
Lperfex is a utility that accesses the hardware performance counters on Intel P6-based Linux systems in order to measure the performance characteristics of other programs.
It functions similarly to the Cray UNICOS hpm and the SGI IRIX perfex utilities in that you can use Lperfex
to measure performance metrics like megaflops on existing applications without having to recompile or instrument them.