diff options
author | bde <bde@FreeBSD.org> | 1996-10-25 13:01:56 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-10-25 13:01:56 +0000 |
commit | df0eda67f3449abc68f3b3b7a4b8088f713f9410 (patch) | |
tree | 5968eb78feb617d966921606e10992b228f61554 /sys/dev/speaker/spkr.c | |
parent | 546845af741d292452163e8a23e043024e484fbf (diff) | |
download | FreeBSD-src-df0eda67f3449abc68f3b3b7a4b8088f713f9410.zip FreeBSD-src-df0eda67f3449abc68f3b3b7a4b8088f713f9410.tar.gz |
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.
Diffstat (limited to 'sys/dev/speaker/spkr.c')
0 files changed, 0 insertions, 0 deletions