lkml.org 
[lkml]   [2011]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH V8 02/13] ntp: add ADJ_SETOFFSET mode bit
    On Mon, Jan 10, 2011 at 06:07:26AM +0900, Kuwahara,T. wrote:
    > On Sun, Jan 9, 2011 at 2:50 AM, Richard Cochran
    > <richardcochran@gmail.com> wrote:
    > > we want to be able to jump the clock arbitrarily.
    >
    > Another problem remains: How do you deal with leap seconds? I mean,
    > given that 1 minute is not always 60 seconds, then what time was it
    > XXXXX seconds ago? Maybe some kind of lookup table is necessary, but
    > in such case, isn't it a better choice just to use the
    > clock_settime/settimeofday syscall?

    Well, first of all, the PTP Hardware Clocks for which this whole patch
    set was created in the first place will keep their time as TAI. Adding
    seconds to such time values is unambiguous.

    Secondly, the question you ask applies equally to the existing
    interfaces, so it is a mute point with regard to the patch series.

    Richard


    \
     
     \ /
      Last update: 2011-01-10 08:21    [W:4.126 / U:0.132 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site