mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 16:55:07 -05:00
refclock: split off median filter
Move the implementation of the median filter to a separate file to make it useful for NTP. Replace some constants with parameters and generalize the code to work with full NTP samples (including root dispersion/delay, stratum, and leap). For refclocks it should give the same results as before.
This commit is contained in:
@@ -36,7 +36,7 @@ DESTDIR=
|
||||
HASH_OBJ = @HASH_OBJ@
|
||||
|
||||
OBJS = array.o cmdparse.o conf.o local.o logging.o main.o memory.o \
|
||||
reference.o regress.o rtc.o sched.o sources.o sourcestats.o stubs.o \
|
||||
reference.o regress.o rtc.o samplefilt.o sched.o sources.o sourcestats.o stubs.o \
|
||||
smooth.o sys.o sys_null.o tempcomp.o util.o $(HASH_OBJ)
|
||||
|
||||
EXTRA_OBJS=@EXTRA_OBJECTS@
|
||||
|
||||
Reference in New Issue
Block a user