aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_ntptime.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2000-03-20 14:09:06 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2000-03-20 14:09:06 +0000
commit91266b96c48db35c4944a1930167509e5e3c7243 (patch)
treef7058d697f5d1912a65ebd42182bc491f7f10d8e /sys/kern/kern_ntptime.c
parent7a3de7619dbe041f845143ad683b3d5432c86abc (diff)
downloadsrc-91266b96c48db35c4944a1930167509e5e3c7243.tar.gz
src-91266b96c48db35c4944a1930167509e5e3c7243.zip
Isolate the Timecounter internals in their own two files.
Make the public interface more systematically named. Remove the alternate method, it doesn't do any good, only ruins performance. Add counters to profile the usage of the 8 access functions. Apply the beer-ware to my code. The weird +/- counts are caused by two repocopies behind the scenes: kern/kern_clock.c -> kern/kern_tc.c sys/time.h -> sys/timetc.h (thanks peter!)
Notes
Notes: svn path=/head/; revision=58377
Diffstat (limited to 'sys/kern/kern_ntptime.c')
-rw-r--r--sys/kern/kern_ntptime.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/kern_ntptime.c b/sys/kern/kern_ntptime.c
index 883bc9dfdd71..bfec5380d76e 100644
--- a/sys/kern/kern_ntptime.c
+++ b/sys/kern/kern_ntptime.c
@@ -40,6 +40,7 @@
#include <sys/proc.h>
#include <sys/time.h>
#include <sys/timex.h>
+#include <sys/timetc.h>
#include <sys/timepps.h>
#include <sys/sysctl.h>