summaryrefslogtreecommitdiff
path: root/sys/kern/kern_synch.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1998-06-30 21:25:58 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1998-06-30 21:25:58 +0000
commit8cb526672845cb782be1f515d5f52ccb27bd5d63 (patch)
tree313c8cb002ad609e9266734baf35ca5784420828 /sys/kern/kern_synch.c
parent09d693f205929d6aed612d595c30e2219b75e002 (diff)
Notes
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 bb0867a0145d..99d192b5bf10 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