This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] profile feedback: -fprofile-use= and -fprofile-correction, correctness fixes and option semantic changes.
Hi,
On Thu, 27 Mar 2008, Jan Hubicka wrote:
> > missed counter updates in multithreaded profile collection.
> > Using atomic updates for counter increment adds significant overhead,
> > especially as the core count grows.
>
> I will need to play with this more tomorrow. I would like to have the
> atomic operation being the default solution for coverage (I tought
> Zdenek had a patch for this, but it is not in mainline, I will need to
> dig out the history here).
It was me. I need to submit it again for trunk. IIRC it did slow down
the profiled runs somewhat, but not extremely.
Ciao,
Michael.