diff options
| author | Garrett Wollman <wollman@FreeBSD.org> | 1994-08-18 22:36:09 +0000 |
|---|---|---|
| committer | Garrett Wollman <wollman@FreeBSD.org> | 1994-08-18 22:36:09 +0000 |
| commit | f23b4c91c4fb94e1bb6aeb4e7747f4ccf7767b41 (patch) | |
| tree | 6b83fdf6eb5926c2f3d175a83d24bf5a2611a012 /sys/kern/kern_clock.c | |
| parent | fa074287a4952da8528838c7812d02678e4c7205 (diff) | |
Notes
Diffstat (limited to 'sys/kern/kern_clock.c')
| -rw-r--r-- | sys/kern/kern_clock.c | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c index c963fdae4feb..5b365f5549c2 100644 --- a/sys/kern/kern_clock.c +++ b/sys/kern/kern_clock.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)kern_clock.c 8.5 (Berkeley) 1/21/94 - * $Id$ + * $Id: kern_clock.c,v 1.3 1994/08/02 07:41:54 davidg Exp $ */ #include <sys/param.h> @@ -53,6 +53,26 @@ #include <sys/gmon.h> #endif +/* Does anybody else really care about these? */ +struct callout *callfree, *callout, calltodo; +int ncallout; + +/* Some of these don't belong here, but it's easiest to concentrate them. */ +long cp_time[CPUSTATES]; +long dk_seek[DK_NDRIVE]; +long dk_time[DK_NDRIVE]; +long dk_wds[DK_NDRIVE]; +long dk_wpms[DK_NDRIVE]; +long dk_xfer[DK_NDRIVE]; + +int dk_busy; +int dk_ndrive = DK_NDRIVE; + +long tk_cancc; +long tk_nin; +long tk_nout; +long tk_rawcc; + /* * Clock handling routines. * @@ -257,7 +277,7 @@ softclock() */ void timeout(ftn, arg, ticks) - void (*ftn) __P((void *)); + timeout_t ftn; void *arg; register int ticks; { @@ -302,7 +322,7 @@ timeout(ftn, arg, ticks) void untimeout(ftn, arg) - void (*ftn) __P((void *)); + timeout_t ftn; void *arg; { register struct callout *p, *t; @@ -400,8 +420,6 @@ stopprofclock(p) } } -int dk_ndrive = DK_NDRIVE; - /* * Statistics clock. Grab profile sample, and if divider reaches 0, * do process and kernel statistics. |
