commit 91810a6f0686477493e9915e98cfc5adcbe91363 Author: Matthew Dillon <dil...@apollo.backplane.com> Date: Fri Aug 24 00:44:54 2012 -0700
kernel - Add additional clock_gettime() modes * Add the following: CLOCK_UPTIME (same as MONOTONIC) CLOCK_UPTIME_PRECISE (same as MONOTONIC) CLOCK_UPTIME_FAST (faster, less precise) CLOCK_REALTIME_PRECISE (same as REALTIME) CLOCK_REALTIME_FAST (faster, less precise) CLOCK_MONOTONIC_PRECISE (same as MONOTONIC) CLOCK_MONOTONIC_FAST (faster, less precise) CLOCK_SECOND (just returns 'time_second') Taken-from: FreeBSD Summary of changes: include/time.h | 17 +++++++++++++---- sys/kern/kern_time.c | 47 +++++++++++++++++++++++++++++++++++++++++++++++ sys/sys/time.h | 17 +++++++++++++---- 3 files changed, 73 insertions(+), 8 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/91810a6f0686477493e9915e98cfc5adcbe91363 -- DragonFly BSD source repository