[PATCH] x86: Add --enable-rdtscp-in-benchtests

Siddhesh Poyarekar siddhesh@gotplt.org
Tue Oct 23 09:55:00 GMT 2018


On 23/10/18 2:34 PM, Florian Weimer wrote:
> Shouldn't the benchtests use clock_gettime anyway, to avoid issues in
> case the TSC is not synchronized across cores?

There's an option USE_CLOCK_GETTIME to make benchtests do that, but 
otherwise it uses the hp_timing bits by default.

Siddhesh



More information about the Libc-alpha mailing list