Date: Fri, 9 Aug 1996 23:35:37 -0700 (PDT) From: Peter Wemm <peter> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 identcpu.c Message-ID: <199608100635.XAA10503@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 96/08/09 23:35:37
Modified: sys/i386/i386 identcpu.c
Log:
Trivial cosmetic tweak to make the i[56]86 CPU MHz reprting round to the
nearest .01 Mhz rather than simply truncating it downwards.
This hack makes this 89.999928 Mhz clock correctly round to the closer
90.00-MHz rather than 89.99-MHz:
> i586 clock: 89999928 Hz, i8254 clock: 1193152 Hz
> CPU: Pentium (90.00-MHz 586-class CPU)
Revision Changes Path
1.3 +5 -3 src/sys/i386/i386/identcpu.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608100635.XAA10503>
