comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: GNAT and profiling!
Date: 15 Nov 2001 20:32:43 +0000
Date: 2001-11-15T20:32:43+00:00	[thread overview]
Message-ID: <x7vofm36ahg.fsf@smaug.pushface.org> (raw)
In-Reply-To: 3BF22DF1.B59AC367@ida.his.se

Michael Andersson <michael@ida.his.se> writes:

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

I would have thought gprof would do better?



      parent reply	other threads:[~2001-11-15 20:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-14  8:40 GNAT and profiling! Michael Andersson
2001-11-14 14:21 ` Mark Johnson
2001-11-15 14:08   ` a98mican
2001-11-15 20:32 ` Simon Wright [this message]
replies disabled

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