V2 [PATCH] x86: Use _rdtsc intrinsic for HP_TIMING_NOW

Florian Weimer fw@deneb.enyo.de
Sat Oct 20 22:27:00 GMT 2018


* 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).



More information about the Libc-alpha mailing list