May 26, 2018
Uses a hardware tick counter to compensate for deviant system clock
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_gettime2 function. Since this is somewhat experimental, there might be some tiny precision differences from the i386 platform versions. You have been warned!