[chrony-dev] About 'System time' line in 'chronyc tracking' output

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


Hi

chronyc tracking prints a System time line.

In client.c (L2333-L2358), System time line hardcodes of NTP time:

"System time     : %.9O of NTP time\n"

This is misleading when chrony is synchronized to a non-NTP source, for example a GNSS/PPS refclock acting as a stratum-1 NTP server.

In that case the clock is disciplined by GNSS/PPS, not NTP.

Could this be changed to something more generic, such as of reference time, or just omit the qualifier?

"System time     : %.9O of reference time\n"

If this is worth changing, I can submit a PR.

Thanks,

Initial heart



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