Changeset View
Changeset View
Standalone View
Standalone View
sys/kern/kern_tc.c
Show First 20 Lines • Show All 103 Lines • ▼ Show 20 Lines | |||||
volatile time_t time_second = 1; | volatile time_t time_second = 1; | ||||
volatile time_t time_uptime = 1; | volatile time_t time_uptime = 1; | ||||
static int sysctl_kern_boottime(SYSCTL_HANDLER_ARGS); | static int sysctl_kern_boottime(SYSCTL_HANDLER_ARGS); | ||||
SYSCTL_PROC(_kern, KERN_BOOTTIME, boottime, CTLTYPE_STRUCT|CTLFLAG_RD, | SYSCTL_PROC(_kern, KERN_BOOTTIME, boottime, CTLTYPE_STRUCT|CTLFLAG_RD, | ||||
NULL, 0, sysctl_kern_boottime, "S,timeval", "System boottime"); | NULL, 0, sysctl_kern_boottime, "S,timeval", "System boottime"); | ||||
SYSCTL_NODE(_kern, OID_AUTO, timecounter, CTLFLAG_RW, 0, ""); | SYSCTL_NODE(_kern, OID_AUTO, timecounter, CTLFLAG_RW, 0, | ||||
"Timecounter params"); | |||||
static SYSCTL_NODE(_kern_timecounter, OID_AUTO, tc, CTLFLAG_RW, 0, ""); | static SYSCTL_NODE(_kern_timecounter, OID_AUTO, tc, CTLFLAG_RW, 0, ""); | ||||
static int timestepwarnings; | static int timestepwarnings; | ||||
SYSCTL_INT(_kern_timecounter, OID_AUTO, stepwarnings, CTLFLAG_RW, | SYSCTL_INT(_kern_timecounter, OID_AUTO, stepwarnings, CTLFLAG_RW, | ||||
×tepwarnings, 0, "Log time steps"); | ×tepwarnings, 0, "Log time steps"); | ||||
struct bintime bt_timethreshold; | struct bintime bt_timethreshold; | ||||
struct bintime bt_tickthreshold; | struct bintime bt_tickthreshold; | ||||
▲ Show 20 Lines • Show All 2,083 Lines • Show Last 20 Lines |