diff options
| author | uwe <uwe@NetBSD.org> | 2006-10-11 02:31:19 +0000 |
|---|---|---|
| committer | uwe <uwe@NetBSD.org> | 2006-10-11 02:31:19 +0000 |
| commit | 61a805fc2c73e03fd0aea8874822cf3426dd896b (patch) | |
| tree | c5f2cf68380ac356aaa99a20beeb7fe57abc2760 /sys/dev/microcode | |
| parent | f6a0f2334cbd32af9e7e136e330e04da69200c55 (diff) | |
Do calculations to estimate cpu and pclock using 64-bit and doing all
the multiplications first. Round to nearest, instead of down.
When estimating pclock don't compute sh_clock.cpucycle_1us * 1000000
sh_clock.cpuclock is exactly that (but without rounding errors).
This improves timekeeping on my Jornada.
Diffstat (limited to 'sys/dev/microcode')
0 files changed, 0 insertions, 0 deletions
