summaryrefslogtreecommitdiffstats
path: root/sys/dev/ppbus
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-03-20 14:09:06 +0000
committerphk <phk@FreeBSD.org>2000-03-20 14:09:06 +0000
commit1a34cea0e84fcb827b7af5b82e87e94c16fd337b (patch)
tree410ee16f844a72e84e097fb4326b0ddaedd2f446 /sys/dev/ppbus
parent1055c7c0e96ac64764f10b1d87889aa4e0ef2ddf (diff)
downloadFreeBSD-src-1a34cea0e84fcb827b7af5b82e87e94c16fd337b.zip
FreeBSD-src-1a34cea0e84fcb827b7af5b82e87e94c16fd337b.tar.gz
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!)
Diffstat (limited to 'sys/dev/ppbus')
-rw-r--r--sys/dev/ppbus/pps.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ppbus/pps.c b/sys/dev/ppbus/pps.c
index e4b6866..f89c560 100644
--- a/sys/dev/ppbus/pps.c
+++ b/sys/dev/ppbus/pps.c
@@ -21,6 +21,7 @@
#include <sys/module.h>
#include <sys/bus.h>
#include <sys/conf.h>
+#include <sys/timetc.h>
#include <sys/timepps.h>
#include <sys/malloc.h>
#include <machine/bus.h>
OpenPOWER on IntegriCloud