Wednesday, May 12, 2010

How to profile my C++ application on linux

Programmer Question

HI,



I would like to profile my c++ application on linux.
I would like to find out how much time my application spent on CPU processing vs time spent on block by IO/being idle.



I know there is a profile tool call valgrind on linux. But it breaks down time spent on each method, and it does not give me an overall picture of how much time spent on CPU processing vs idle? Or is there a way to do that with valgrind.



Thank you.



Find the answer here

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails