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]

Re: long build of testcase compile/intrinsic_associated.f90


On Thu, 2004-06-03 at 17:15, Tobias SchlÃter wrote:
>  How does one profile gfortran?

edit your top level makefile to add -pg to the compile flags and the ld
flags.


then execute using something like this (gfortran -v a.f) 

/usr/local/libexec/gcc/i686-pc-linux-gnu/3.5.0/f951 a.f -ffixed-form
-quiet -dumpbase a.f -mtune=pentiumpro -auxbase a -version -o
/tmp/ccSsaDSa.s


then use gprof.


--bud





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