diff options
Diffstat (limited to 'kern/thread.h')
-rw-r--r-- | kern/thread.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kern/thread.h b/kern/thread.h index f41daefb..24e3c677 100644 --- a/kern/thread.h +++ b/kern/thread.h @@ -47,6 +47,14 @@ #include <machine/tcb.h> /* + * Scheduler tick frequency. + * + * The selected value of 200 translates to a period of 5ms, small enough to + * provide low latency, and is practical as both a dividend and divisor. + */ +#define THREAD_TICK_FREQ 200 + +/* * Thread structure. */ struct thread; |