Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/arch/sh3/sh3
Module Name: src
Committed By: uwe
Date: Wed Oct 11 02:31:19 UTC 2006
Modified Files:
src/sys/arch/sh3/sh3: clock.c
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -r1.34 -r1.35 src/sys/arch/sh3/sh3/clock.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index