From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,9e718c96a7961738 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news3.google.com!news.glorb.com!tudelft.nl!txtfeed1.tudelft.nl!feeder2.cambrium.nl!feed.tweaknews.nl!feeder1.essentkabel.com!news.agarik.com!194.2.0.24.MISMATCH!oleane.net!oleane!hunter.axlog.fr!nobody From: Jean-Pierre Rosen Newsgroups: comp.lang.ada Subject: Re: Profiling GNAT programs with gprof Date: Wed, 08 Jun 2005 09:22:59 +0200 Organization: Adalog Message-ID: References: <42A5C785.CB651501@alfred-hilscher.de> NNTP-Posting-Host: mailhost.axlog.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: s1.news.oleane.net 1118215427 31891 195.25.228.57 (8 Jun 2005 07:23:47 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Wed, 8 Jun 2005 07:23:47 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: fr, en In-Reply-To: Xref: g2news1.google.com comp.lang.ada:11256 Date: 2005-06-08T09:22:59+02:00 List-Id: Marius Amado Alves a �crit : > I also have experienced erroneous Gprof results. Functions *never* > called listed as called. I gave up on Gprof. Sorry not being of help. > Just telling my experience. Next time I need profiling I think I'll try > another tool e.g. RootCause, or instrument my code. Good luck to you > with Gprof. > I had obviously wrong results with gprof both with tasking and non-tasking programs, and I gave up using it. Note that if you just want to time some procedure calls (not full profiling), you can use the facilities from Debug.Timing package, available as part of Adalog's Debug package. See http://www.adalog.fr/compo2.htm -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr