This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Libgfortran profiling question
- From: "Timothy C Prince" <tprince at myrealbox dot com>
- To: jvdelisle at verizon dot net
- Cc: tprince at computer dot org, fortran at gcc dot gnu dot org
- Date: Fri, 06 Apr 2007 22:15:45 +0000
- Subject: Re: Libgfortran profiling question
- Reply-to: tprince at nospamcomputer dot org
-----Original Message-----
From: Jerry DeLisle <jvdelisle@verizon.net>
To: tprince@computer.org
Date: Fri, 06 Apr 2007 14:54:21 -0700
Subject: Libgfortran profiling question
How do we turn on profiling for libgfortran? Is there a build option to enable
this?
_________________________________---
Simply using a static link of the current libgfortran in a -pg build should make the functions appear by time spent in the initial gprof list (without call counts or caller/callee).
Even better would be to have a copy of the library built with -pg come in automatically in a -pg build.
Tim Prince