[ntp:questions] 1s offset
david-taylor at blueyonder.co.uk.invalid
Thu Mar 7 17:51:46 UTC 2013
On 07/03/2013 17:36, unruh wrote:
>> Yes, it /should/ be the same second, but it depends on how NTP may, or
>> may not, round the value 0.6, for example. I haven't looked at the code
>> to check the actual behaviour.
> It does not round the time value. It uses it all ( to themicrosecond).
If converting a seconds+fraction number to seconds, it must either round
or truncate. It's converting a 64-bit number to a 32-bit one,
effectively, when determining the nearest second.
More information about the questions