diff options
author | phk <phk@FreeBSD.org> | 2000-03-20 14:09:06 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-03-20 14:09:06 +0000 |
commit | 1a34cea0e84fcb827b7af5b82e87e94c16fd337b (patch) | |
tree | 410ee16f844a72e84e097fb4326b0ddaedd2f446 /sys/i386/isa/random_machdep.c | |
parent | 1055c7c0e96ac64764f10b1d87889aa4e0ef2ddf (diff) | |
download | FreeBSD-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/i386/isa/random_machdep.c')
-rw-r--r-- | sys/i386/isa/random_machdep.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/i386/isa/random_machdep.c b/sys/i386/isa/random_machdep.c index ef63742..5309478 100644 --- a/sys/i386/isa/random_machdep.c +++ b/sys/i386/isa/random_machdep.c @@ -44,6 +44,7 @@ #include <sys/kernel.h> #include <sys/select.h> #include <sys/poll.h> +#include <sys/timetc.h> #include <sys/md5.h> #include <machine/random.h> |