gprof
¶
There are multiple profilers available on UPPMAX. This page describes gprof.
gprof is the GNU profiler, provided with the GNU compiler package.
In order to use gprof
do the following:
Load a recent gcc
module
and a recent binutils
module:
Compile your program with the -pg -g
flags added
run it:
then do: