Re: refclock local

Miroslav Lichvar <[email protected]>
Newsgroups gmane.comp.time.chrony.user
Message-ID <ZNMnFvZwwnHhPjp3@localhost>
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-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org 
with "unsubscribe" in the subject.
For help email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org 
with "help" in the subject.
Trouble?  Email [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.