Cprof is an enhanced performance profiler tool.
Flat profiles and call graphs are produced, and
multithreaded apps are handled well. It requires
gcc version 2.95.x or later. Programs are compiled
with -finstrument-functions and linked with
-lcprof in order to generate profiling data.