This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
profiling question
- To: gcc-help at gcc dot gnu dot org
- Subject: profiling question
- From: Dave Klint <davek at ca dot mgisoft dot com>
- Date: Wed, 07 Jun 2000 19:50:12 -0700
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