Re: [LEAPSECS] Things to do at about 2005-12-31 23:59:60Z

From: Markus Kuhn <>
Date: Sat, 31 Dec 2005 20:53:52 +0000

Neal McBurnett wrote on 2005-12-31 07:35 UTC:
> On Mon, Dec 19, 2005 at 11:31:22PM +0000, Markus Kuhn wrote:
> > I suspect, the basic exercise will be running a little test routines on
> > various NTP-synchronized hosts, that log the progression of
> > clock_gettime(), gettimeofday(), etc. against whatever hardware counter
> > register is available, just to see what actually happens these days at
> > the API during a leap second with the very latest kernel versions.
> Anyone have software to watch this stuff which they want to share?

Try something along the lines of

This records the BSD API, the POSIX API, and on Pentium CPUs also the
Pentium timestamp counter. Command-line options allow you specify start
time and duration of the recording.

This is meant to be portable POSIX code, but has only been tested under
Linux so far.


Markus Kuhn, Computer Laboratory, University of Cambridge || CB3 0FD, Great Britain
Received on Sat Dec 31 2005 - 12:55:12 PST

This archive was generated by hypermail 2.3.0 : Sat Sep 04 2010 - 09:44:54 PDT