comp.lang.ada
 help / color / mirror / Atom feed
* Profiling GNAT programs with gprof
@ 2005-06-07 16:12 Alfred Hilscher
  2005-06-07 17:00 ` Alex R. Mosteo
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Alfred Hilscher @ 2005-06-07 16:12 UTC (permalink / 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"
-----------------------------------------------------



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-06-10  9:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox