Date: Fri, 25 Oct 1996 06:01:58 -0700 (PDT) From: Bruce Evans <bde> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/include clock.h src/sys/kern kern_clock.c Message-ID: <199610251301.GAA19460@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 96/10/25 06:01:58 Modified: sys/i386/include clock.h sys/kern kern_clock.c Log: Improved biasing of i586 clock by adjusting for hardclock() latency. I decided to do this for every hardclock() call instead of lazily in microtime(). The lazy method is simpler but has more overhead if microtime() is called a lot. CPU_THISTICKLEN() is now a no-op and should probably go away. Previously it did nothing directly but had the side effect of setting i586_last_tick for CPU_CLOCKUPDATE() and i586_avg_tick for debugging. CPU_CLOCKUPDATE() now uses a better method and i586_avg_tick is too much trouble to maintain. Reduced nesting of #includes in the usual case. Increased nesting of #includes when CLOCK_HAIR is defined. This is a kludge to get typedefs for inline functions only when the inline functions are used. Normally only kern_clock.c defines this. kern_clock.c can't include the i386 headers directly. Removed unused LOCORE support. Revision Changes Path 1.20 +62 -51 src/sys/i386/include/clock.h 1.28 +2 -1 src/sys/kern/kern_clock.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610251301.GAA19460>