Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 92730 invoked from network); 12 Feb 2007 09:31:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Feb 2007 09:31:12 -0000 Received: (qmail 78980 invoked by uid 500); 12 Feb 2007 09:31:20 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 78852 invoked by uid 500); 12 Feb 2007 09:31:19 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Delivered-To: moderator for dev@activemq.apache.org Received: (qmail 76617 invoked by uid 99); 11 Feb 2007 07:06:40 -0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FROM_ALL_NUMS,FROM_STARTS_WITH_NUMS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Message-ID: <016c01c74dab$1767e660$1284a8c0@sun.ac.za> From: "Albert Strasheim" <13640887@sun.ac.za> To: References: <8a6feb940702100330n55116dck9d7da19ca8bf585e@mail.gmail.com> Subject: Re: c++ profiler Date: Sun, 11 Feb 2007 09:06:02 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Virus-Checked: Checked by ClamAV on apache.org Hello all ----- Original Message ----- From: "Nathan Mittler" To: Cc: 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