NetBSD/dist/ntp/util
kardel 8d09e35dad Import ntp 4.2.4p8 2009-12-08 20:41:03 +00:00
..
Makefile.am Import ntp 4.2.4p5 2008-08-23 07:38:09 +00:00
Makefile.in Import ntp 4.2.4p8 2009-12-08 20:41:03 +00:00
README
ansi2knr.1
ansi2knr.c import and integrate NTP 4.2.2 2006-06-11 19:34:07 +00:00
audio-pcm.c
byteorder.c
hist.c import and integrate NTP 4.2.2 2006-06-11 19:34:07 +00:00
jitter.c import and integrate NTP 4.2.2 2006-06-11 19:34:07 +00:00
jitter.h Import ntp 4.2.2 2006-06-11 14:57:12 +00:00
kern.c
longsize.c
ntp-keygen-opts.c Import ntp 4.2.4p8 2009-12-08 20:41:03 +00:00
ntp-keygen-opts.def Import ntp 4.2.4p2 2007-06-24 15:47:02 +00:00
ntp-keygen-opts.h Import ntp 4.2.4p8 2009-12-08 20:41:03 +00:00
ntp-keygen-opts.menu Import ntp 4.2.4 2007-01-06 16:04:26 +00:00
ntp-keygen-opts.texi Import ntp 4.2.4p8 2009-12-08 20:41:03 +00:00
ntp-keygen.1 Import ntp 4.2.4p8 2009-12-08 20:41:03 +00:00
ntp-keygen.c fixes for 64 bit time_t 2008-12-28 22:56:57 +00:00
ntptime.c resolve CID 808 for the general case (code didn't trigger it - constant strings were supplied ) 2006-03-18 08:09:03 +00:00
pps-api.c
precision.c
sht.c
testrs6000.c
tg.c spell precede; from Zafer 2006-11-25 16:48:31 +00:00
tickadj.c
timetrim.c

README

README file for directory ./util of the NTP Version 4 distribution

This directory contains the sources for the various utility programs.
See the README and RELNOTES files in the parent directory for directions
on how to make and install these programs.

The ntptime.c program checks the kernel configuration for the NTP user
interface syscalls ntp_gettime() and ntp_adjtime().  If present, the
current timekeeping data are displayed.  If not, a dissapointment is
displayed.  See the kernel page file in the HTML documentation in
distribution for further details. ntptime will be built be if configure
believes your system can use it.

The jitter.c program can be used to determine the timing jitter due to
the operating system in a gettimeofday() call.  For most systems the
dominant contribution to the jitter budget is the period of the hardware
interrupt, usually in the range 10 us-1 ms.  For those systems with
microsecond counters, such as recent Sun and certain HP and DEC systems,
the jitter is dominated only by the operating system.

The timetrim.c program can be used with SGI machines to implement a
scheme to discipline the hardware clock frequency.  See the source code
for further information.

The byteorder.c and longsize.c programs are used during the configuration
process to determine the byte order (little or big endian) and longword
size (32 or 64 bits).  See the configure scripts for further details.

The testrs6000.c program is used for testing purposes with the IBM
RS/6000 AIX machines. Bill Jones <jones@chpc.utexas.edu> reports:
"I could not get a tickadj of less than 40 us to work on a RS6000.
If you set it less than 40 us do so at your own risk!"

The tickadj.c program can be used to read and set various kernel
parameters affecting NTP operations. See the tickadj page in the HTML
documentation for further details.  tickadj will be built if configure
believes your system can use it.