No profiling with OpenMP?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I tried the latest version of gcc from the stable 4.2 branch and noticed
that gprof produces wrong data together with open -fopenmp for a C++
program.

I have only two #pragma omp parallel statements in a class and the
calling statistic of this class contructor is completly wrong (gprof
tells me this constructor is called far too often). Is using OpenMP
together with -pg -O0 -g supported?

I found bug http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29935
related to OpenMP and profiling but it doesn't answer my question.

Or could it just be a problem with the 4.2.1 snapshot?

Jens

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux