?? readme
字號:
See the ./html/index.htm for run-time documentationA "make" with just about any dirty rottten C compiler will bake the testand demonstration program. The program is not intended to do anything otherthan verify the impulse response of the clock discipline loop and look forglitches.The routines are designed to be implemented in the kernels of genericoperating systems in a reasonably portable way, although the definitionof portable here is rather loose. Comments are liberally sprinkled inthe sources and should give guidance where the code fragments go. Thereare two principle routines, ktime.c and micro.c. The ktime.c routine isis to be integrated with usual Unix suspect kern_clock.c or whaterver namethis function has been morphed to. This routine handles timer interrupts,increments the clock tick and handles the second overflow. The micro.croutine interpolates between timer interrupts in order to provide nanosecondresolution.These routines have been integrated in stock kernels for FreeBSD and is anavailable add-on for Linux. An earlier version is in the stock kernelsfor Digital Alpha (or whatever name that has morphed to), and Solaris. Theheader files and some code fragments are in the alpha, freebsd, solaris andsunos directories in this distribution.The pulse-per-second (PPS) interface support is also in this distribution,although in fragmentary form. It is available in stock kernels for Solarisand FreeBSD and is an available add-on for Linux. Although it has beenimplemented for Alpha and SunOS, it never made it to the stock kernels.The tprotime.c and tpro.h are for SunOS SBus machines, which are rather rarethese days. The TPRO board is a precision oscillator/counter synchronizedto an IRIG signal. Once upon a time the SunOS kernel was modified to useit as the system clock, which provided truly awesome performance. It isincluded here by way of historic reminder.Dave Mills23 September 2002
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -