From: Alfred Hilscher <SPAM@alfred-hilscher.de>
Subject: Re: Profiling GNAT programs with gprof
Date: Fri, 10 Jun 2005 11:49:33 +0200
Date: 2005-06-10T11:49:33+02:00 [thread overview]
Message-ID: <42A9622D.60237DCE@alfred-hilscher.de> (raw)
In-Reply-To: 42A5C785.CB651501@alfred-hilscher.de
Thanks to all.
It seems to me that profiling with gprof is not the best way, so I will
look for other method to optimize my algorithms.
Alfred Hilscher schrieb:
>
> Has someone experience with gprof and GNAT? It seem to work when I
> profile sequential programs, but if I have tasks in my code then the
> result of gprof seem invalid. E.g. a procedure called only three times
> at all is listed as about 10000 calls. And while the over all runtime of
> the prog is about 2 sec, gprof shows the consumed time for this
> procedure with a few thousands seconds.
> It looks like as if the statistik counters were not initialized. What
> have I to do, to get correct results?
> I use GNAT 3.15p and Windows 2000.
>
--
-----------------------------------------------------
To send me mail, please replace "Spam" by "Jedermann"
-----------------------------------------------------
prev parent reply other threads:[~2005-06-10 9:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-07 16:12 Profiling GNAT programs with gprof Alfred Hilscher
2005-06-07 17:00 ` Alex R. Mosteo
2005-06-07 17:18 ` Marius Amado Alves
2005-06-08 7:22 ` Jean-Pierre Rosen
2005-06-08 11:31 ` Jeff Creem
2005-06-10 9:49 ` Alfred Hilscher [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox