PPT Slide
Profiling - gprof
Also have gprof available
more extensive profile
compile with -pg
file gmon.out will be created
gprof >& myprof
note that gprof output goes to std err (&)
for multiple procs. (MPI), copy or link gmon.out.n to gmon.out, then gprof
Previous slide
Next slide
Back to first slide
View graphic version