Re: [chrony-dev] [GIT] chrony/chrony.git annotated tag, 1.27-pre1, created. 1.27-pre1 |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
On Mon, Mar 12, 2012 at 09:52:23AM -0700, Bill Unruh wrote:
> On Mon, 12 Mar 2012, Miroslav Lichvar wrote:
> >Or perhaps the PPS driver could round it to +-0.5 as only rates 1 Hz
> >or higher are supported. The question is if the refclock log should
> >show already aligned offset, e.g. for a 5Hz PPS 0.04, -0.01, 0.02
> >instead of 0.04, 0.19, 0.42.
>
> I would say so. The timestamp on the log entry line already gives the time to
> micro seconds, so it is not as if that looses anything. The log would then
> give the offset rounded to the nearest 1/rate with a common accuracy ( as it
> is, positive offsets are to the nearest ns, while negative are to the nearest
> 100ns or so-- it seems to be a bit inconsistant-- because of all the
> superfluous 9s.
With the latest commit it should be as you expect. It now logs
"uncooked" offsets. The second pairing is done with cooked offsets, so
one has to remove the correction from that to get the raw offset back.
When chrony slews a large offset, it might be surprising that the
logged raw PPS offset can now be over 1 second.
2012-03-13 12:30:05.000001 PPS0 4 N 1 -1.105000e-06 -1.017000e-06 4.338e-07
2012-03-13 12:30:05.000001 SHM1 4 N 0 -1.000000e-06 -9.120000e-07 1.501e-06
2012-03-13 12:30:06.000001 PPS0 5 N 1 -1.586000e-06 -1.509000e-06 4.328e-07
2012-03-13 12:30:06.000002 SHM1 5 N 0 -2.000000e-06 -1.923000e-06 1.500e-06
2012-03-13 12:30:07.000002 PPS0 6 N 1 -2.694000e-06 -2.627000e-06 4.308e-07
2012-03-13 12:30:07.000003 SHM1 6 N 0 -3.000000e-06 -2.933000e-06 1.498e-06
2012-03-13 12:30:07.999999 PPS0 7 N 1 2.780000e-07 3.370000e-07 4.298e-07
2012-03-13 12:30:08.000000 SHM1 7 N 0 0.000000e+00 5.900000e-08 1.497e-06
2012-03-13 12:30:08.999999 PPS0 8 N 1 5.800000e-08 1.100000e-07 4.288e-07
2012-03-13 12:30:09.000000 SHM1 8 N 0 0.000000e+00 5.200000e-08 1.496e-06
--
Miroslav Lichvar
--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.
- References:
- Re: [chrony-dev] [GIT] chrony/chrony.git annotated tag, 1.27-pre1, created. 1.27-pre1
- Re: [chrony-dev] [GIT] chrony/chrony.git annotated tag, 1.27-pre1, created. 1.27-pre1
- Re: [chrony-dev] [GIT] chrony/chrony.git annotated tag, 1.27-pre1, created. 1.27-pre1
- Re: [chrony-dev] [GIT] chrony/chrony.git annotated tag, 1.27-pre1, created. 1.27-pre1
- Re: [chrony-dev] [GIT] chrony/chrony.git annotated tag, 1.27-pre1, created. 1.27-pre1
- Re: [chrony-dev] [GIT] chrony/chrony.git annotated tag, 1.27-pre1, created. 1.27-pre1
- Re: [chrony-dev] [GIT] chrony/chrony.git annotated tag, 1.27-pre1, created. 1.27-pre1