This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/23461] Add __tsc_to_ns and __ns_to_tsc


https://sourceware.org/bugzilla/show_bug.cgi?id=23461

--- Comment #4 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to Carlos O'Donell from comment #3)
> (In reply to H.J. Lu from comment #2)
> > (In reply to Florian Weimer from comment #1)
> > > Does this belong in glibc?  We don't have any Intel TSC support yet, and our
> > > internal use of rdtsc *is* incorrect.
> > 
> > I am not sure where they belong.  But glibc has the infrastructure to
> > collect CPUID info.  Adding CPUID 15H is quite simple:
> > 
> > https://github.com/hjl-tools/glibc/tree/hjl/cpu-features/master
> 
> We have sys/platform/* headers which would let you expose special functions
> like this to user programs. We have one for ppc.h right now only.

https://sourceware.org/glibc/wiki/PlatformHeaders

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]