1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/sysutils/clockspeed/pkg-descr
Mario Sergio Fujikawa Ferreira a5fcdc400d o Remove ONLY_FOR_ARCHS limitation by adding timing support other
than RDTSC registers from Pentium. After a reminder by Garrett
  Wollman <wollman@FreeBSD.org> [1] that FreeBSD has a gethrtime()
  similar function, added experimental support for FreeBSD
  clock_gettime(2) which should work in all FreeBSD supported ARCHes

o Add notes in both DESCR and PKGMESSAGE that there might be precision
  differences since this is experimental code

Reviewed by:	portmgr (silence/no objections)
Submitted by:	wollman [1]
2003-01-02 05:46:09 +00:00

22 lines
951 B
Plaintext

clockspeed uses a hardware tick counter to compensate for a persistently
fast or slow system clock. Given a few time measurements from a reliable
source, it computes and then eliminates the clock skew.
sntpclock checks another system's NTP clock, and prints the results in a
format suitable for input to clockspeed. sntpclock is the simplest
available NTP/SNTP client.
taiclock and taiclockd form an even simpler alternative to SNTP. They
are suitable for precise time synchronization over a local area network,
without the hassles and potential security problems of an NTP server.
This version of clockspeed can use the Pentium RDTSC tick counter or the
Solaris gethrtime() nanosecond counter.
A port to non-i386 platforms was done using the clock_gettime(2)
function. Since this is somewhat experimental, there might be some
tiny precision differences from the i386 platform versions. You
have been warned!
WWW: http://cr.yp.to/clockspeed.html