V2 [PATCH] benchtests: Restore the clock_gettime option

H.J. Lu hjl.tools@gmail.com
Wed May 20 18:14:08 GMT 2020


On Wed, May 20, 2020 at 11:05 AM Florian Weimer <fweimer@redhat.com> wrote:
>
> * Alexander Monakov via Libc-alpha:
>
> > I am well aware. Again: rdtsc does not count CPU cycles on recent
> > Intel CPUs.
>
> H.J. probably has a different view on what those “recent Intel CPUs”
> are. 8-) I have not reviewed the mechanics of the patch, but if we need
> this for some CPUs, we should make the change.
>

Here the patch with updated commit message:

commit 7621e38bf3c58b2d0359545f1f2898017fd89d05
Author: Wilco Dijkstra <Wilco.Dijkstra@arm.com>
Date:   Tue Jan 29 17:43:45 2019 +0000

    Add generic hp-timing support

removed the clock_gettime option.  Restore the clock_gettime option for
some x86 CPUs on which value from RDTSC may not be incremented at a fixed
rate.

OK for master?

Thanks.

-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-benchtests-Restore-the-clock_gettime-option.patch
Type: text/x-patch
Size: 2645 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20200520/7459e681/attachment.bin>


More information about the Libc-alpha mailing list