From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,280de4248570bb72 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Wed, 22 Nov 2006 12:08:24 -0600 Date: Wed, 22 Nov 2006 13:01:41 -0500 From: Jeffrey Creem User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Profiler? References: <1164207144.438846.201330@m73g2000cwd.googlegroups.com> <7o7e34-hcm.ln1@newserver.thecreems.com> <4sjccvF1063beU1@mid.individual.net> In-Reply-To: <4sjccvF1063beU1@mid.individual.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <8sfe34-f3p.ln1@newserver.thecreems.com> NNTP-Posting-Host: 24.147.74.171 X-Trace: sv3-NxljPA0syCqNhGgtq4VGwsunBC38MktzlsJf/t+Snq2QSkVTWtP+OUa8PQIrTSCGCGIMr1qgwJQH+uT!Xw11MhPCanXK2OF0NfFTkiQKJBUAr/tOfw/dwwXalzBUuE/cIqzc2kPo4/aAV/nadA3Q9qadUWhu!iyI= X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news2.google.com comp.lang.ada:7650 Date: 2006-11-22T13:01:41-05:00 List-Id: Alex R. Mosteo wrote: > Jeffrey Creem wrote: > > >>Harald Korneliussen wrote: >> >>>Does anyone know of a good profiler for programs written in Ada? > > >>If I try to make an assumption (and I could get this wrong) and assume >>by Ada you mean GNAT and then assume that perhaps you mean Linux I can >>say that gprof is actually an "ok" profiler. It is not great but it gets >>the job done. > > > Based in that same assumption, I've used successfully valgrind and > kcachegrind with nice results, also for multitasking programs. Oprofile was > in my list of things to look at that I never reached. Thanks for the reminder. Since a lot of my work is still Sparc Solaris based I always forget to mention valgrind. The combination of valgrind and kacachegrind is actually quite powerful and pr(though large programs do tend to run quite slowly under valgrind). I also toyed with oprofile a while back and did not find it as useful (in the case I was working with) as valgrind/kcachegrind but I did not spend enough time with it to be sure.