freebsd-dev/lib/libc/include
Konstantin Belousov 869fd80fd4 Use struct vdso_timehands data to implement fast gettimeofday(2) and
clock_gettime(2) functions if supported. The speedup seen in
microbenchmarks is in range 4x-7x depending on the hardware.

Only amd64 and i386 architectures are supported. Libc uses rdtsc and
kernel data to calculate current time, if enabled by kernel.

Hopefully, this code is going to migrate into vdso in some future.

Discussed with:	bde
Reviewed by:	jhb
Tested by:	flo
MFC after:	1 month
2012-06-22 07:13:30 +00:00
..
isc Merge the resolver part of BIND 9.4.3 into HEAD. 2008-12-14 19:39:53 +00:00
compat.h Remove some unneeded spaces from the __sym_compat() macro, since newer 2010-11-11 21:36:52 +00:00
fpmath.h Add support for the FPA floating-point format on ARM. The 2008-12-23 22:20:59 +00:00
libc_private.h Use struct vdso_timehands data to implement fast gettimeofday(2) and 2012-06-22 07:13:30 +00:00
namespace.h Introduce a non-portable function pthread_getthreadid_np(3) to retrieve 2011-02-07 21:26:46 +00:00
nscache.h - Extend the nsswitch to support Services, Protocols and Rpc 2006-04-28 12:03:38 +00:00
nscachedcli.h - Extend the nsswitch to support Services, Protocols and Rpc 2006-04-28 12:03:38 +00:00
nss_tls.h Revert unnecessary memset after calloc. 2009-05-28 15:02:21 +00:00
port_after.h We have gmtime_r(3). 2006-03-21 18:31:24 +00:00
port_before.h Fix two warnings about self-assignment in libc. These normally only 2012-06-06 21:16:26 +00:00
reentrant.h The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-02 17:20:04 +00:00
resolv_mt.h Vendor import of BIND 9.3.2 2006-03-21 15:03:19 +00:00
spinlock.h Remove 3rd clause, renumber, ok per email 2007-01-12 07:31:30 +00:00
un-namespace.h Introduce a non-portable function pthread_getthreadid_np(3) to retrieve 2011-02-07 21:26:46 +00:00