clock - #define HZ 10000 #else /* More realistic value */...

#ifndef _CLOCK_H_ #define _CLOCK_H_ #include "opt-synchprobs.h" /* * Time-related definitions. * * hardclock() is called from the timer interrupt HZ times a second. * gettime() may be used to fetch the current time of day. * getinterval() computes the time from time1 to time2. */ /* hardclocks per second */ #if OPT_SYNCHPROBS /* Make synchronization more exciting :) */

This is the end of the preview. Sign up
to
access the rest of the document.