Get gprof to profile based on wall-clock time?

Posted by jetwolf on Stack Overflow See other posts from Stack Overflow or by jetwolf
Published on 2010-05-10T15:29:26Z Indexed on 2010/05/10 21:14 UTC
Read the original article Hit count: 155

Filed under:
|
|

My understanding is that by default gprof takes into account CPU time. Is there a way to get it to profile based on wall-clock time?

My program does a lot of disk i/o, so the CPU time it uses only represents a fraction of the actual execution time. I need to know which portions of the disk i/o take up the most time.

© Stack Overflow or respective owner

Related posts about gprof

Related posts about c++