LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Profiling tool required (https://www.linuxquestions.org/questions/programming-9/profiling-tool-required-348294/)

Sambatyon 07-30-2005 06:17 AM

Profiling tool required
 
Hi,

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...

Mara 07-30-2005 04:17 PM

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.


All times are GMT -5. The time now is 12:40 AM.