summaryrefslogtreecommitdiffstats
path: root/sys/sys/timex.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1998-02-20 16:36:17 +0000
committerphk <phk@FreeBSD.org>1998-02-20 16:36:17 +0000
commit044e1e629691b102791a17fc6db270846b71b01c (patch)
tree73eeeac34c8a9254ecd3686eaa03c76379171a5c /sys/sys/timex.h
parentfba9e5d6630c11aef2f66bef4dd7fbf45179be87 (diff)
downloadFreeBSD-src-044e1e629691b102791a17fc6db270846b71b01c.zip
FreeBSD-src-044e1e629691b102791a17fc6db270846b71b01c.tar.gz
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
Diffstat (limited to 'sys/sys/timex.h')
-rw-r--r--sys/sys/timex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/timex.h b/sys/sys/timex.h
index b4e5f06..5e0df4b 100644
--- a/sys/sys/timex.h
+++ b/sys/sys/timex.h
@@ -295,7 +295,7 @@ struct timex {
}
#ifdef KERNEL
-void ntp_update_second __P((long *newsec));
+void ntp_update_second __P((struct timecounter *tc));
extern long time_phase;
extern long time_adj;
#else
OpenPOWER on IntegriCloud