Re: [chrony-users] refclock local |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] refclock local
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Wed, 9 Aug 2023 07:41:42 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1691559706; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NOaaWPi8ez9j0Taprr5c/PaxZPv+PENKqAs8nUNHSkU=; b=JUkcFOyunJDpEVXDGeing0KkgmsAKq/Fg7mPmfLbc9DCSgPXlA+5QwD9KjI/eqZQBDDYTC pKXsN0p++NK5IBoNH4pbt8xCimCSsmMKT1VovzesHHH6/SrgUB2WX1FNx4l6ja9kopcGni t8C3z5CViw5y1tncMBxxIQYnS/tLTCc=
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.