You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by Nathan Mittler <na...@gmail.com> on 2007/02/10 12:30:51 UTC
c++ profiler
Hi everyone,
The ActiveMQ-CPP team is looking for a C++ profiler that will work on Linux
and OS X. I was wondering what the APR team uses and if there is a profiler
that is freely available to Apache members. Any info would be much
appreciated.
Thanks,
Nate
Re: c++ profiler
Posted by Nathan Mittler <na...@gmail.com>.
I'll give gprof a shot. Thanks for the help!
On 2/11/07, Albert Strasheim <13...@sun.ac.za> wrote:
>
> Hello all
>
> ----- Original Message -----
> From: "Nathan Mittler" <na...@gmail.com>
> To: <de...@apr.apache.org>
> Cc: <de...@activemq.apache.org>
> Sent: Saturday, February 10, 2007 1:30 PM
> Subject: c++ profiler
>
>
> > Hi everyone,
> > The ActiveMQ-CPP team is looking for a C++ profiler that will work on
> > Linux
> > and OS X. I was wondering what the APR team uses and if there is a
> > profiler
> > that is freely available to Apache members. Any info would be much
> > appreciated.
>
> These are all Linux-specific, but I've had good experiences with all of
> them:
>
> GNU gprof
>
> Callgrind/KCachegrind
> http://kcachegrind.sourceforge.net/cgi-bin/show.cgi
>
> oprofile
> http://oprofile.sourceforge.net/
>
> All the tools will probably need you to compile with -g to get useful line
> numbers out. gprof also needs some other compiler flags (check the man
> page).
>
> Don't know if this is still valid, but gprof might have issues with
> multithreaded applications:
>
> http://sam.zoy.org/writings/programming/gprof.html
>
> Cheers,
>
> Albert
>
>
Re: c++ profiler
Posted by Albert Strasheim <13...@sun.ac.za>.
Hello all
----- Original Message -----
From: "Nathan Mittler" <na...@gmail.com>
To: <de...@apr.apache.org>
Cc: <de...@activemq.apache.org>
Sent: Saturday, February 10, 2007 1:30 PM
Subject: c++ profiler
> Hi everyone,
> The ActiveMQ-CPP team is looking for a C++ profiler that will work on
> Linux
> and OS X. I was wondering what the APR team uses and if there is a
> profiler
> that is freely available to Apache members. Any info would be much
> appreciated.
These are all Linux-specific, but I've had good experiences with all of
them:
GNU gprof
Callgrind/KCachegrind
http://kcachegrind.sourceforge.net/cgi-bin/show.cgi
oprofile
http://oprofile.sourceforge.net/
All the tools will probably need you to compile with -g to get useful line
numbers out. gprof also needs some other compiler flags (check the man
page).
Don't know if this is still valid, but gprof might have issues with
multithreaded applications:
http://sam.zoy.org/writings/programming/gprof.html
Cheers,
Albert