diff options
author | bde <bde@FreeBSD.org> | 1996-06-23 17:40:47 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-06-23 17:40:47 +0000 |
commit | d48f2915c75e3f142ef5a346892e93ad521557c9 (patch) | |
tree | c918d491c84bf337ed10680d10ae8ac32cb431a7 /sys/kern/kern_tc.c | |
parent | a106d0e3dd99a953bdcac3005d80078b306620cf (diff) | |
download | FreeBSD-src-d48f2915c75e3f142ef5a346892e93ad521557c9.zip FreeBSD-src-d48f2915c75e3f142ef5a346892e93ad521557c9.tar.gz |
Unstaticize psratio and staticize profprocs. psratio needs to be exported
to trap.c to fix user profiling.
Diffstat (limited to 'sys/kern/kern_tc.c')
-rw-r--r-- | sys/kern/kern_tc.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/kern/kern_tc.c b/sys/kern/kern_tc.c index 3a92899..ff14269 100644 --- a/sys/kern/kern_tc.c +++ b/sys/kern/kern_tc.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)kern_clock.c 8.5 (Berkeley) 1/21/94 - * $Id: kern_clock.c,v 1.23 1995/12/07 12:46:37 davidg Exp $ + * $Id: kern_clock.c,v 1.24 1995/12/17 21:23:16 phk Exp $ */ /* Portions of this software are covered by the following: */ @@ -83,10 +83,11 @@ static void initclocks __P((void *dummy)); SYSINIT(clocks, SI_SUB_CLOCKS, SI_ORDER_FIRST, initclocks, NULL) -/* Does anybody else really care about these? (yes, machdep.c) */ -static struct callout calltodo; +/* Exported to machdep.c. */ struct callout *callfree, *callout; +static struct callout calltodo; + /* Some of these don't belong here, but it's easiest to concentrate them. */ static long cp_time[CPUSTATES]; long dk_seek[DK_NDRIVE]; @@ -149,10 +150,10 @@ long tk_rawcc; int stathz; int profhz; -int profprocs; +static int profprocs; int ticks; static int psdiv, pscnt; /* prof => stat divider */ -static int psratio; /* ratio: prof / stat */ +int psratio; /* ratio: prof / stat */ volatile struct timeval time; volatile struct timeval mono_time; |