Messages in this thread | | | From | Andy Lutomirski <> | Subject | [RFC 0/2] ABI for clock_gettime_ns | Date | Mon, 12 Dec 2011 17:26:36 -0800 |
| |
On x86-64, clock_gettime is so fast that the overhead converting to and from nanoseconds is non-negligible. clock_gettime_ns is a different interface that is potentially faster. If people like the ABI, I'll implement an optimized version.
For the git-inclined, this series is at https://git.kernel.org/?p=linux/kernel/git/luto/linux.git;a=shortlog;h=refs/heads/timing/clock_gettime_ns/rfc_v1
Andy Lutomirski (2): Add clock_gettime_ns syscall x86-64: Add __vdso_clock_gettime_ns vsyscall
arch/x86/include/asm/unistd_64.h | 2 + arch/x86/vdso/vclock_gettime.c | 70 +++++++++++++++++++++++++++++--------- arch/x86/vdso/vdso.lds.S | 7 ++++ include/linux/syscalls.h | 2 + kernel/posix-timers.c | 29 ++++++++++++++++ 5 files changed, 94 insertions(+), 16 deletions(-)
-- 1.7.7.4
| |