1 example for gprof
# Reading gprof output after commpiling with gprof and running application:
gprof yourprogram gmon.out >output.txt
# Reading gprof output after commpiling with gprof and running application:
gprof yourprogram gmon.out >output.txt