Changeset View
Changeset View
Standalone View
Standalone View
sys/kern/sched_ule.c
Show First 20 Lines • Show All 3,120 Lines • ▼ Show 20 Lines | SYSCTL_INT(_kern_sched, OID_AUTO, always_steal, CTLFLAG_RW, &always_steal, 0, | ||||
"Always run the stealer from the idle thread"); | "Always run the stealer from the idle thread"); | ||||
SYSCTL_PROC(_kern_sched, OID_AUTO, topology_spec, CTLTYPE_STRING | | SYSCTL_PROC(_kern_sched, OID_AUTO, topology_spec, CTLTYPE_STRING | | ||||
CTLFLAG_MPSAFE | CTLFLAG_RD, NULL, 0, sysctl_kern_sched_topology_spec, "A", | CTLFLAG_MPSAFE | CTLFLAG_RD, NULL, 0, sysctl_kern_sched_topology_spec, "A", | ||||
"XML dump of detected CPU topology"); | "XML dump of detected CPU topology"); | ||||
#endif | #endif | ||||
/* ps compat. All cpu percentages from ULE are weighted. */ | /* ps compat. All cpu percentages from ULE are weighted. */ | ||||
static int ccpu = 0; | static int ccpu = 0; | ||||
SYSCTL_INT(_kern, OID_AUTO, ccpu, CTLFLAG_RD, &ccpu, 0, ""); | SYSCTL_INT(_kern, OID_AUTO, ccpu, CTLFLAG_RD, &ccpu, 0, | ||||
"Decay factor used for updating %CPU in 4BSD scheduler"); | |||||
kaktus: And too. |
And too.