This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: improved performance timing
Michael Meissner <meissner@cygnus.com> writes:
>
> Somebody also might think about optionally using machine dependent timers and
> avoid all time system calls, while being more accurate.
Machine dependent timers without system support usually don't work
on SMP machines (at least reserving context switched performance registers
is usually hard, in most cases you only get a global per CPU cycle
counter)
-Andi