This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

profiling question


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]