comp.lang.ada
 help / color / mirror / Atom feed
From: Pascal Obry <p.obry@wanadoo.fr>
Subject: Re: gprof with gnat
Date: 01 May 2002 10:40:01 +0200
Date: 2002-05-01T08:40:00+00:00	[thread overview]
Message-ID: <usn5cuuqm.fsf@wanadoo.fr> (raw)
In-Reply-To: aanpmm$9td$1@geraldo.cc.utexas.edu


"Bobby D. Bryant" <bdbryant@mail.utexas.edu> writes:

> On Mon, 29 Apr 2002 04:40:40 -0600, Charles Fr. Rey wrote:
> 
> > Anyone knows how to use gprof with gnat (linux version) ? I was able
> > to use it on solaris, but not on my home computer ...
> 
> I'm not very expert with gprof, but I tried it last fall and didn't
> seem to have any problems.  I use Linux and GNAT.
> 
> Here are some notes I made at the time:
> 
> 
>  o Comments in the source file for a jacket program, profile.adb, that
>    I wrote to drive a GA "solver" for the profiling -
> 
> -- This is useful for testing for memory leaks in the solver:
> --    gnatmake profile
> --    gnatmem 5 ./profile
> --
> -- Also useful for optimizing the solver:
> --    make profile
> --    ./profile
> --    gcov profile.adb
> --    emacs profile.adb.gcov
> --    n.b. -- you can also run gcov on files that profile.adb depends on.
> 
> 
>  o A snippet from my Makefile -
> 
> # For use w/ the gcov profiler:
> profile: realclean
>         gnatmake -g profile                   \
>         -cargs -fprofile-arcs -ftest-coverage \
>         -bargs -C -largs -C

This is not gprof (profiling tool) arguments but gcov ones (a test coverage
tool).

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|         http://perso.wanadoo.fr/pascal.obry
--|
--| "The best way to travel is by means of imagination"



      parent reply	other threads:[~2002-05-01  8:40 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-29 10:40 gprof with gnat Charles Fr. Rey
2002-04-30  6:37 ` Eric G. Miller
2002-04-30 10:10   ` Charles Fr. Rey
2002-04-30 10:12 ` Charles Fr. Rey
2002-04-30 13:58   ` Ted Dennison
2002-04-30 19:31     ` Gautier
2002-05-01 17:18       ` Ted Dennison
2002-05-01 12:30     ` Robert Dewar
2002-05-01 17:49       ` Ted Dennison
2002-05-01  4:06 ` Bobby D. Bryant
2002-05-01  6:11   ` Charles Fr. Rey
2002-05-01 12:33     ` Robert Dewar
2002-05-01 18:23       ` Bad reply practice (OT) Chad R. Meiners
2002-05-03  8:46         ` Robert Dewar
2002-05-02  6:49       ` gprof with gnat Charles Fr. Rey
2002-05-02 11:53         ` Robert Dewar
2002-05-02 14:18           ` [OT] ettiquite - was " Mark Johnson
2002-05-02 17:34             ` Ted Dennison
2002-05-03  8:41             ` Robert Dewar
2002-05-03 13:22               ` Hyman Rosen
2002-05-04  1:53                 ` Robert Dewar
2002-05-07 15:08                 ` Bobby D. Bryant
2002-05-08  2:29                   ` Robert Dewar
2002-05-03  7:09           ` Charles Fr. Rey
2002-05-03 12:01             ` Larry Kilgallen
2002-05-04  2:07               ` Robert Dewar
2002-05-03 12:24             ` Jean-Marc Bourguet
2002-05-05 20:40               ` cfrey
2002-05-06 14:14                 ` Stephen Leake
2002-05-09 17:43                   ` Marin David Condic
2002-05-10 22:20                     ` Stephen Leake
2002-05-06 15:41                 ` Wes Groleau
2002-05-07 11:53                   ` Charles Fr. Rey
2002-05-07 17:12                     ` WAY OFF TOPIC Wes Groleau
2002-05-07 19:03                       ` Preben Randhol
2002-05-08  8:47                         ` Charles Fr. Rey
2002-05-01  8:40   ` Pascal Obry [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