From owner-cvs-all Fri Feb 20 08:37:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA19000 for cvs-all-outgoing; Fri, 20 Feb 1998 08:37:45 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA18929; Fri, 20 Feb 1998 08:37:12 -0800 (PST) (envelope-from phk@FreeBSD.org) From: Poul-Henning Kamp Received: (from phk@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id IAA14212; Fri, 20 Feb 1998 08:36:19 -0800 (PST) Date: Fri, 20 Feb 1998 08:36:19 -0800 (PST) Message-Id: <199802201636.IAA14212@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/conf files.i386 src/sys/i386/i386 microtime.s src/sys/i386/include clock.h src/sys/i386/isa clock.c random_machdep.c src/sys/kern kern_clock.c kern_ntptime.c kern_time.c src/sys/sys time.h timex.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk phk 1998/02/20 08:36:18 PST Modified files: sys/i386/conf files.i386 sys/i386/include clock.h sys/i386/isa clock.c random_machdep.c sys/kern kern_clock.c kern_ntptime.c kern_time.c sys/sys time.h timex.h Removed files: sys/i386/i386 microtime.s Log: Replace TOD clock code with more systematic approach. Highlights: * Simple model for underlying hardware. * Hardware basis for timekeeping can be changed on the fly. * Only one hardware clock responsible for TOD keeping. * Provides a real nanotime() function. * Time granularity: .232E-18 seconds. * Frequency granularity: .238E-12 s/s * Frequency adjustment is continuous in time. * Less overhead for frequency adjustment. * Improves xntpd performance. Reviewed by: bde, bde, bde Revision Changes Path 1.192 +1 -2 src/sys/i386/conf/files.i386 1.32 +1 -65 src/sys/i386/include/clock.h 1.111 +115 -68 src/sys/i386/isa/clock.c 1.21 +3 -16 src/sys/i386/isa/random_machdep.c 1.57 +241 -94 src/sys/kern/kern_clock.c 1.15 +27 -24 src/sys/kern/kern_ntptime.c 1.41 +7 -6 src/sys/kern/kern_time.c 1.17 +73 -3 src/sys/sys/time.h 1.6 +1 -1 src/sys/sys/timex.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message