Changeset View
Changeset View
Standalone View
Standalone View
head/sys/kern/kern_clock.c
Show First 20 Lines • Show All 376 Lines • ▼ Show 20 Lines | |||||
*/ | */ | ||||
int stathz; | int stathz; | ||||
int profhz; | int profhz; | ||||
int profprocs; | int profprocs; | ||||
volatile int ticks; | volatile int ticks; | ||||
int psratio; | int psratio; | ||||
static DPCPU_DEFINE(int, pcputicks); /* Per-CPU version of ticks. */ | DPCPU_DEFINE_STATIC(int, pcputicks); /* Per-CPU version of ticks. */ | ||||
#ifdef DEVICE_POLLING | #ifdef DEVICE_POLLING | ||||
static int devpoll_run = 0; | static int devpoll_run = 0; | ||||
#endif | #endif | ||||
/* | /* | ||||
* Initialize clock frequencies and start both clocks running. | * Initialize clock frequencies and start both clocks running. | ||||
*/ | */ | ||||
/* ARGSUSED*/ | /* ARGSUSED*/ | ||||
▲ Show 20 Lines • Show All 502 Lines • Show Last 20 Lines |