[ntp:hackers] smearing the leap second

Warner Losh imp at bsdimp.com
Sat Jul 11 03:00:46 UTC 2015


> On Jul 10, 2015, at 4:20 PM, John Stultz <john.stultz at linaro.org> wrote:
> 
> On Fri, Jul 10, 2015 at 3:06 PM, Hal Murray <hmurray at megapathdsl.net> wrote:
>> 
>> Greg Troxel <gdt at ir.bbn.com> said:
>>> The thing I don't really get about the leap second debate is that we have
>>> two timescales with the two properties people want.  TAI is straightforward,
>>> with no leap seconds, monitic, etc., but not linked to UT1.  UTC has leap
>>> seconds but tracks UT1.  So if people don't like UTC, they can just use TAI.
>> 
>> No systems support TAI.  There is no API to get time in TAI.
> 
> Linux supports CLOCK_TAI via clock_gettime().   One can also get the
> tai_offset via adjtimex().

Only if the kernel is fed the proper UTC / TAI offset.

Warner

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.ntp.org/pipermail/hackers/attachments/20150710/9a0880bf/attachment.sig>


More information about the hackers mailing list