profiling question

Dave Klint davek@ca.mgisoft.com
Wed Jun 7 19:50:00 GMT 2000


Is there something magical that has to be done in order to get
gprof to profile a multi-threaded application correctly?  Is
there a command flag I'm missing?  I compile with "-g -a -pg" and 
I have the pthreads library with profiling in it, but it refuses
to give me timing information once the first thread starts.

I know this isn't really the place to ask this question, but 
I'm very frustrated with this.  Everyplace I look says that gprof
supports threads, but I sure can't verify that.  

-dave


More information about the Gcc-help mailing list