From owner-cvs-all Mon Mar 20 6: 9:10 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 56C5B37B679; Mon, 20 Mar 2000 06:09:07 -0800 (PST) (envelope-from phk@FreeBSD.org) Received: (from phk@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id GAA67868; Mon, 20 Mar 2000 06:09:07 -0800 (PST) (envelope-from phk@FreeBSD.org) Message-Id: <200003201409.GAA67868@freefall.freebsd.org> From: Poul-Henning Kamp Date: Mon, 20 Mar 2000 06:09:06 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/conf files src/sys/dev/ppbus pps.c src/sys/i386/i386 mp_clock.c src/sys/i386/isa clock.c loran.c random_machdep.c src/sys/isa sio.c src/sys/kern kern_clock.c kern_ntptime.c kern_tc.c kern_time.c src/sys/pci xrpu.c ... Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG phk 2000/03/20 06:09:06 PST Modified files: sys/conf files sys/dev/ppbus pps.c sys/i386/i386 mp_clock.c sys/i386/isa clock.c loran.c random_machdep.c sys/isa sio.c sys/kern kern_clock.c kern_ntptime.c kern_tc.c kern_time.c sys/pci xrpu.c sys/sys time.h timetc.h Log: Isolate the Timecounter internals in their own two files. Make the public interface more systematically named. Remove the alternate method, it doesn't do any good, only ruins performance. Add counters to profile the usage of the 8 access functions. Apply the beer-ware to my code. The weird +/- counts are caused by two repocopies behind the scenes: kern/kern_clock.c -> kern/kern_tc.c sys/time.h -> sys/timetc.h (thanks peter!) Revision Changes Path 1.342 +2 -1 src/sys/conf/files 1.25 +2 -1 src/sys/dev/ppbus/pps.c 1.5 +4 -4 src/sys/i386/i386/mp_clock.c 1.150 +8 -7 src/sys/i386/isa/clock.c 1.27 +3 -2 src/sys/i386/isa/loran.c 1.34 +2 -1 src/sys/i386/isa/random_machdep.c 1.292 +2 -1 src/sys/isa/sio.c 1.106 +3 -573 src/sys/kern/kern_clock.c 1.33 +2 -1 src/sys/kern/kern_ntptime.c 1.106 +55 -478 src/sys/kern/kern_tc.c 1.69 +3 -2 src/sys/kern/kern_time.c 1.20 +3 -2 src/sys/pci/xrpu.c 1.43 +1 -85 src/sys/sys/time.h 1.43 +14 -216 src/sys/sys/timetc.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message