Date: Sat, 25 Jun 2011 16:35:43 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/ia64/ia64 clock.c Message-ID: <201106251636.p5PGa3me038028@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2011-06-25 16:35:43 UTC FreeBSD src repository Modified files: sys/ia64/ia64 clock.c Log: SVN rev 223542 on 2011-06-25 16:35:43Z by marcel Define the minimum fractional period in terms of hz. We know hz is a magnitude smaller than itc_freq. A minimum period of 10*hz is sufficient precision. As a side-effect, the number of clocks per second, when the machine is idle, dropped by more than 50%. Be anal and define the maximum period to be at least 4G seconds. With a 64-bit counter and an ITC frequency that's expected to be always less than 4Ghz, it takes longer than that to wrap around. Revision Changes Path 1.42 +2 -2 src/sys/ia64/ia64/clock.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106251636.p5PGa3me038028>