Dag-Erling Sm=C3=B8rgrav <des@des.no> writes:
> Stefan Lambrev <stefan.lambrev@moneybookers.com> writes:
> > I tried clock_gettime() (using CLOCK_REALTIME for clock_id), but this
> > yield worse performance.
> Try CLOCK_MONOTONIC instead.
I forgot - there are also the FreeBSD-specific CLOCK_REALTIME_FAST and
CLOCK_MONOTONIC_FAST if you can live with a little bit of jitter.
DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"