#include <queue.h>
Go to the source code of this file.
Defines | |
#define | QUANTUM 10 |
Functions | |
void | clockinit (void) |
void | clock_update (ulong) |
interrupt | clockintr (void) |
Variables | |
ulong | preempt |
ulong | ctr_mS |
ulong | clocktime |
ulong | time_base_freq |
ulong | time_intr_freq |
queue | sleepq |
Definition in file clock.h.
#define QUANTUM 10 |
void clock_update | ( | ulong | ) |
Referenced by clockintr().
void clockinit | ( | void | ) |
Referenced by sysinit().
interrupt clockintr | ( | void | ) |
XINU Clock handler. Ticks. Tocks. Wakes up sleeping procs.
Definition at line 20 of file clockintr.c.
References clock_update(), clocktime, ctr_mS, firstkey, nonempty, preempt, resched(), restore_intr(), sleepq, time_intr_freq, and wakeup().
current time in secs since boot
Referenced by clockintr().
millisecond counter
Referenced by clockintr().
Referenced by clockintr(), and resched().
queue for sleeping processes
Referenced by clockintr(), sleep(), and wakeup().
frequency of hardware clock update
frequency of XINU clock interrupt
Referenced by clockintr().