Re: profile g95
- From: "Joost" <jv244@xxxxxxxxx>
- Date: 27 Sep 2006 11:34:38 -0700
beliavsky@xxxxxxx wrote:
I use mingw g95 on Windows XP. Is there a profiling tool to measure how
CPU time is consumed, or should I just sprinkle calls to the CPU_TIME
intrinsic in the code? If there is a tool that works only on Linux, I
could profile the code there -- I'd guess that the timings should be
similar.
There has been a rather detailed mail in the gg95 google group :
HOWTO: execution time profiling with
g95/valgrind/callgrind/kcachegrind
http://groups.google.com/group/gg95/browse_frm/thread/dab64d1ce9b8d80e/#
which describes a linux-only tool, which is, however very instructive
and very detailed (i.e. line by line timings). The standard tool, which
should also be available for mingw (but I can't test), is gprof. It
requires that the code is recompiled/linked with -pg. The executable
will generate a timing report (gmon.out) which can be transformed in
something more or less readable with gprof.
Cheers,
Joost
.
- References:
- profile g95
- From: beliavsky
- profile g95
- Prev by Date: Re: Strange Porting Problem CVF to IVF, requesting help and ideas.
- Next by Date: Re: Apology to comp.lang.fortran
- Previous by thread: profile g95
- Next by thread: Re: profile g95
- Index(es):
Relevant Pages
|