]> git.ipfire.org Git - thirdparty/chrony.git/commit - samplefilt.c
samplefilt: add function to correct accumulated offsets
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 24 Feb 2022 07:44:10 +0000 (08:44 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 24 Feb 2022 10:40:01 +0000 (11:40 +0100)
commitd5e645eb38b06e66a16856eb2ba6cf4b73cf2bec
tree2d3990d42dc80239cff8a532cab193686ff85bb3
parent3196630fb9ae06f5199a9705d450a439d0b4af18
samplefilt: add function to correct accumulated offsets

Analogously to SST_CorrectOffset(), add SPF_CorrectOffset() to correct
the offsets accumulated in the filter.
samplefilt.c
samplefilt.h
test/unit/samplefilt.c