comp.lang.ada
 help / color / mirror / Atom feed
From: bobduff@world.std.com (Robert A Duff)
Subject: Re: performance tuning with gnat
Date: 1996/05/10
Date: 1996-05-10T00:00:00+00:00	[thread overview]
Message-ID: <Dr7JB1.5Er@world.std.com> (raw)
In-Reply-To: 4n069g$rrf@eri1.erinet.com


In article <4n069g$rrf@eri1.erinet.com>,
James E. Hopper  <jhopper@erinet.com> wrote:
>In article <4mvkq1$nr4@cville-srv.wam.umd.edu> Eric Anthony Spear,
>spear@wam.umd.edu writes:
>>Hi!  I'm running gnat 3.01.  I have a program that runs slower than I'd
>>like.  The trouble is, I don't know which parts are causing the
>>slowdown.  Are there any tools that can help me profile my program,
>>breaking down by procedure/function cpu usage and/or disk usage/wait
>>times?

I had some luck with GNAT on Linux using gprof.  Use the -pg option to
the linker (that is, put "-largs -pg" on the gnatmake command line).
Then run gprof.  If you use -pg on the compiler, in addition to the
linker, it's supposed to give even more useful information.
Unfortunately, I got core dumps when I tried that, and I didn't
investigate further.

- Bob




  reply	other threads:[~1996-05-10  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-05-10  0:00 performance tuning with gnat Eric Anthony Spear
1996-05-10  0:00 ` James E. Hopper
1996-05-10  0:00   ` Robert A Duff [this message]
1996-05-13  0:00   ` Dale Pontius
1996-05-13  0:00     ` James E. Hopper
1996-05-14  0:00   ` Geert Bosch
replies disabled

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