profiling of contained procedures
Daniel Franke
franke.daniel@gmail.com
Wed Nov 8 17:51:00 GMT 2006
Hi all,
profiling of contained procedures is next to impossible as they are
not seen by gprof (FCFLAGS="-g -pg -fno-inline"). The procedures in
question are listed within the binary as local symbols in text ("t")
by 'nm'. Problem: the profiler attributes the time spent in contained
procedures to the container. In my case, a single subroutine accounts
for 60% of the runtime - but I won't get any detailed information as
long as the contained procedures are hidden(?) from gprof/valgrind.
Is this behavior intentional?
Daniel
More information about the Fortran
mailing list