Date: Mon, 18 Aug 2003 13:55:16 -0600 From: Scott Long <scottl@freebsd.org> To: Poul-Henning Kamp <phk@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys timetc.h src/sys/kern kern_tc.c src/sys/i386/isa clock.c Message-ID: <3F412F24.5060603@freebsd.org> In-Reply-To: <200308160823.h7G8NrAv045177@repoman.freebsd.org> References: <200308160823.h7G8NrAv045177@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Poul-Henning Kamp wrote: > phk 2003/08/16 01:23:53 PDT > > FreeBSD src repository > > Modified files: > sys/sys timetc.h > sys/kern kern_tc.c > sys/dev/acpica acpi_timer.c > sys/i386/i386 tsc.c > sys/i386/isa clock.c > Log: > Give timecounters a numeric quality field. > > A timecounter will be selected when registered if its quality is > not negative and no less than the current timecounters. > > Add a sysctl to report all available timecounters and their qualities. > > Give the dummy timecounter a solid negative quality of minus a million. > > Give the i8254 zero and the ACPI 1000. > > The TSC gets 800, unless APM or SMP forces it negative. > > Other timecounters default to zero quality and thereby retain current > selection behaviour. > > Revision Changes Path > 1.23 +6 -5 src/sys/dev/acpica/acpi_timer.c > 1.202 +16 -18 src/sys/i386/i386/tsc.c > 1.203 +2 -1 src/sys/i386/isa/clock.c > 1.154 +35 -8 src/sys/kern/kern_tc.c > 1.58 +7 -0 src/sys/sys/timetc.h > My Dell 8200 nows runs its clock at 2x speed. My dmesg reports having an 8254, TSC, and ACPI-fast counters, with the TSC being wildly variable from boot to boot. Scott
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F412F24.5060603>