Miroslav Lichvar
ed904f08a4
hwclock: return timestamp error
...
For now, when converting a raw timestamp, return error of the last
sample as the maximum error of the timestamp. This is needed to include
the PHC reading delay in the NTP dispersion.
2017-01-06 13:12:19 +01:00
Miroslav Lichvar
a2d2cad384
hwclock: fix check of sample separation
2016-12-08 14:47:38 +01:00
Miroslav Lichvar
5b2caf48dc
hwclock: fix order of samples
...
In order to trim oldest samples in the regression function, they need to
be sorted in the data arrays from the oldest to newest.
2016-11-15 14:55:25 +01:00
Miroslav Lichvar
9bdd35c9fa
hwclock: add support for tracking hardware clocks
...
Add a general support for tracking independent hardware clocks like PTP
hardware clocks (PHC) or real-time clocks (RTC).
2016-11-10 15:26:56 +01:00