[PATCH] PowerPC - Add a faster way to read the Time Base register
Carlos O'Donell
carlos@systemhalted.org
Thu Apr 26 20:35:00 GMT 2012
On Tue, Apr 17, 2012 at 4:22 PM, Tulio Magno Quites Machado Filho
<tuliom@linux.vnet.ibm.com> wrote:
> Add function __ppc_get_timebase() to directly read the Time Base register.
> This is required for applications that measure time at high frequencies
> with high precision that can't afford a syscall.
>
> 2012-04-09 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
>
> [BZ #13743]
> * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
> * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
> (sysdep_headers): Include sys/platform/ppc.h.
> * sysdeps/powerpc/test-gettimebase.c: Test for
> __ppc_get_timebase() to catch future ISA opcode/insn changes.
> * manual/Makefile (appendices): Include platform.texi.
> * manual/contrib.texi: Likewise.
> * manual/maint.texi: Document how to include platform-specific
> headers.
> * manual/platform.texi: New file. Document the new features.
Tulio,
Have you given any consideration to contributing a manual page for
this to the man-pages project?
http://sourceware.org/glibc/wiki/Contribution%20checklist#Documentation
Cheers,
Carlos.
More information about the Libc-alpha
mailing list