Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 07-30-2005, 07:17 AM   #1
LQ Newbie
Registered: Jul 2005
Distribution: Kubuntu
Posts: 5

Rep: Reputation: 0
Profiling tool required


Can anybody recommend a good profiling tool for measuring multithreaded programs runtime. The profiling is needed for optimization purposes so it need to report how many times a particular function was called and its average runtime. It also needs to support C++ with template functions and classes.

Appreciate your help...
Old 07-30-2005, 05:17 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,575

Rep: Reputation: 181Reputation: 181
Try gprof and valgrind (which is not a profiler, but has interesting profiling options). I haven't tried them with a multithreaded program, but they should work.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
php profiling alaios Fedora 0 12-08-2004 02:13 PM
Maybe we need more racial profiling right now jaz General 29 07-27-2004 09:42 PM
Profiling daemon threads in Linux.. which tool? devershetty Linux - Software 0 07-20-2004 10:17 PM
kernel profiling bluefiord02 Linux - Software 1 04-06-2004 03:43 PM
Profiling in linux bluefiord02 Linux - General 1 04-06-2004 01:25 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:24 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration