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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a0ff1df3c152ae8,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-14 00:40:32 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!isdnet!newsfeed1.telenordia.se!algonet!newsfeed.sunet.se!news01.sunet.se!news.chalmers.se!PLUTO. From: Michael Andersson Newsgroups: comp.lang.ada Subject: GNAT and profiling! Date: Wed, 14 Nov 2001 09:40:17 +0100 Organization: Hogskolan i Skovde Message-ID: <3BF22DF1.B59AC367@ida.his.se> NNTP-Posting-Host: pluto.his.se Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: nyheter.chalmers.se 1005727219 24976 193.10.178.51 (14 Nov 2001 08:40:19 GMT) X-Complaints-To: abuse@chalmers.se NNTP-Posting-Date: 14 Nov 2001 08:40:19 GMT X-Mailer: Mozilla 4.77 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en X-Original-NNTP-Posting-Host: atle.ida.his.se X-Original-Trace: 14 Nov 2001 09:36:40 +0100, atle.ida.his.se Xref: archiver1.google.com comp.lang.ada:16490 Date: 2001-11-14T08:40:19+00:00 List-Id: Hi! I want to use gcov to profile my code. The problem is that I want to compare one version of a program with a new version of the program to see weather or not I gained some performace. But from what I can se gcov counts how many times each line of code was executed. This would mean that each version would have to be executed an equal amount of time. I could use a counter for each function an print the contents of the counter each frame and then compare it the output from the other version of the program. This could become quite an effort since there are a lot of functions to compare. Could I in some way use gcov to do this?