V2 [PATCH] x86: Use _rdtsc intrinsic for HP_TIMING_NOW

H.J. Lu hjl.tools@gmail.com
Sat Oct 20 22:37:00 GMT 2018


On 10/20/18, Florian Weimer <fw@deneb.enyo.de> wrote:
> * Florian Weimer:
>
>
>> I'm trying to remove the #include <hp-timing.h> from
>> <libc-internal.h>, but I don't know how hard this will be.
>
> That doesn't help.  It's pulled in via <tls.h> and <descr.h> as well.
> We would need a separate <hp_timing_t.h> header file to avoid that
> because hp_timing_t is required in a few central places (thread
> descriptor and link map).
>

Please try this.

-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-x86-Don-t-include-x86intrin.h.patch
Type: text/x-patch
Size: 1567 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20181020/3ff0e2eb/attachment.bin>


More information about the Libc-alpha mailing list