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,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news2.google.com!proxad.net!newsfeed.stueberl.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: Alfred Hilscher Newsgroups: comp.lang.ada Subject: Profiling GNAT programs with gprof Date: Tue, 07 Jun 2005 18:12:53 +0200 Organization: none Message-ID: <42A5C785.CB651501@alfred-hilscher.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.t-online.com 1118161069 04 8771 dNX3rJ06pKwqwrt 050607 16:17:49 X-Complaints-To: usenet-abuse@t-online.de X-ID: GFzOC8Zp8eouXfgEG7o1HPdpe1cJKt46L3d1YjTAIku53W3XltFtgm X-Mailer: Mozilla 4.75 [de] (WinNT; U) X-Accept-Language: de Xref: g2news1.google.com comp.lang.ada:11250 Date: 2005-06-07T18:12:53+02:00 List-Id: 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" -----------------------------------------------------