Re: [chrony-users] refclock local

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


On Tue, Aug 08, 2023 at 06:54:15PM -0400, Josef 'Jeff' Sipek wrote:
> Out of curiosity, why is the range (-1,+1) instead of [-0.5,+0.5]?  I caught
> me off guard when I restarted chrony and the PPS "jumped" from +400 to
> -600ms.

It's slightly simpler code to trim the offset by whole seconds. It
shouldn't matter. The main reason for trimming the value is to avoid
losing precision.

-- 
Miroslav Lichvar


-- 
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/