This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: Mainline merge part 14 - profiler improvements


On Wed, May 08, 2002 at 11:00:17AM +0200, Jan Hubicka wrote:
> This is quite large, but on the other hand, overhead of thread unsafe profiling
> is about 20% for GCC, using the lock prefix on Pentium was about 120 cycles, I
> would expect it to increase on newer CPUs, so it can increase the overhead to
> about 300-400%

It decreases, actually.  Pentium had a stupid implementation.
It's quite fast on Athlon, for instance.


r~


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