This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

profiling of contained procedures


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]