comp.lang.ada
 help / color / mirror / Atom feed
* GNAT and profiling!
@ 2001-11-14  8:40 Michael Andersson
  2001-11-14 14:21 ` Mark Johnson
  2001-11-15 20:32 ` Simon Wright
  0 siblings, 2 replies; 4+ messages in thread
From: Michael Andersson @ 2001-11-14  8:40 UTC (permalink / 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?



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-11-15 20:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox