summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_synch.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1998-06-30 21:25:58 +0000
committerphk <phk@FreeBSD.org>1998-06-30 21:25:58 +0000
commit107b074e2348937933283de1a7851d864a95ff23 (patch)
tree95c30f43613946a6258152d71a670f899a588e17 /sys/kern/kern_synch.c
parent755fd03ef8c4c7cd442a382538064abb074ea245 (diff)
downloadFreeBSD-src-107b074e2348937933283de1a7851d864a95ff23.zip
FreeBSD-src-107b074e2348937933283de1a7851d864a95ff23.tar.gz
Add 3 sysctl variables for future use by ps)1_
Diffstat (limited to 'sys/kern/kern_synch.c')
-rw-r--r--sys/kern/kern_synch.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c
index bb0867a..99d192b 100644
--- a/sys/kern/kern_synch.c
+++ b/sys/kern/kern_synch.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_synch.c 8.9 (Berkeley) 5/19/95
- * $Id: kern_synch.c,v 1.57 1998/05/28 09:30:19 phk Exp $
+ * $Id: kern_synch.c,v 1.58 1998/06/21 18:02:43 bde Exp $
*/
#include "opt_ktrace.h"
@@ -214,6 +214,7 @@ roundrobin(arg)
/* decay 95% of `p_pctcpu' in 60 seconds; see CCPU_SHIFT before changing */
static fixpt_t ccpu = 0.95122942450071400909 * FSCALE; /* exp(-1/20) */
+SYSCTL_INT(_kern, OID_AUTO, ccpu, CTLFLAG_RD, &ccpu, 0, "");
/*
* If `ccpu' is not equal to `exp(-1/20)' and you still want to use the
OpenPOWER on IntegriCloud