Re: What TZ do you use to get right time w/ clockspeed?

Ben Mesander <[email protected]> Fri, 15 Nov 2002 14:21:37 -0700
Newsgroups gmane.comp.lib.libtai
Message-ID <[email protected]>
D. J. Bernstein writes:
 > Bennett Todd writes:
 > > Do you know of any other software using TAI?
 > 
 > There are a huge number of programs that compute real-time intervals
 > by subtracting time_t/timeval/timespec values. Those programs produce
 > incorrect results if you use the xntpd interpretation of timespec.

This is correct; while the software I write for my employer does not
use TAI, we use a similar timescale of our own devising. So it is not
unusual for applications that need to know about time to use a
timescale without leapseconds internally. So there is other software
out there.

It's too hard to write decent timing software using the ntp/unix
timescale - all the discontinuities around leap seconds make the code
prone to errors.

Regards
Ben