Changeset View
Changeset View
Standalone View
Standalone View
sys/kern/kern_clocksource.c
| Show First 20 Lines • Show All 120 Lines • ▼ Show 20 Lines | struct pcpu_state { | ||||
| sbintime_t nextstat; /* Next statclock() event. */ | sbintime_t nextstat; /* Next statclock() event. */ | ||||
| sbintime_t nextprof; /* Next profclock() event. */ | sbintime_t nextprof; /* Next profclock() event. */ | ||||
| sbintime_t nextcall; /* Next callout event. */ | sbintime_t nextcall; /* Next callout event. */ | ||||
| sbintime_t nextcallopt; /* Next optional callout event. */ | sbintime_t nextcallopt; /* Next optional callout event. */ | ||||
| int ipi; /* This CPU needs IPI. */ | int ipi; /* This CPU needs IPI. */ | ||||
| int idle; /* This CPU is in idle mode. */ | int idle; /* This CPU is in idle mode. */ | ||||
| }; | }; | ||||
| static DPCPU_DEFINE(struct pcpu_state, timerstate); | DPCPU_DEFINE_STATIC(struct pcpu_state, timerstate); | ||||
| DPCPU_DEFINE(sbintime_t, hardclocktime); | DPCPU_DEFINE(sbintime_t, hardclocktime); | ||||
| /* | /* | ||||
| * Timer broadcast IPI handler. | * Timer broadcast IPI handler. | ||||
| */ | */ | ||||
| int | int | ||||
| hardclockintr(void) | hardclockintr(void) | ||||
| { | { | ||||
| ▲ Show 20 Lines • Show All 852 Lines • Show Last 20 Lines | |||||