comp.lang.ada
 help / color / mirror / Atom feed
From: Michael Andersson <michael@ida.his.se>
Subject: GNAT and profiling!
Date: Wed, 14 Nov 2001 09:40:17 +0100
Date: 2001-11-14T08:40:19+00:00	[thread overview]
Message-ID: <3BF22DF1.B59AC367@ida.his.se> (raw)

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?



             reply	other threads:[~2001-11-14  8:40 UTC|newest]

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

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