comp.lang.ada
 help / color / mirror / Atom feed
From: Alfred Hilscher <SPAM@alfred-hilscher.de>
Subject: Profiling GNAT programs with gprof
Date: Tue, 07 Jun 2005 18:12:53 +0200
Date: 2005-06-07T18:12:53+02:00	[thread overview]
Message-ID: <42A5C785.CB651501@alfred-hilscher.de> (raw)

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"
-----------------------------------------------------



             reply	other threads:[~2005-06-07 16:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-07 16:12 Alfred Hilscher [this message]
2005-06-07 17:00 ` Profiling GNAT programs with gprof 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
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox