[Linuxptp-devel] [PATCH v3 5/5] clockcheck: Increase minimum interval.
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Miroslav L. <mli...@re...> - 2021-05-31 09:08:23
|
Increase the minimum check interval to 1 second to measure the frequency offset more accurately and with default configuration make false positives less likely due to a heavily overloaded system. Signed-off-by: Miroslav Lichvar <mli...@re...> --- clockcheck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clockcheck.c b/clockcheck.c index d0b4714..f0141be 100644 --- a/clockcheck.c +++ b/clockcheck.c @@ -23,7 +23,7 @@ #include "clockcheck.h" #include "print.h" -#define CHECK_MIN_INTERVAL 100000000 +#define CHECK_MIN_INTERVAL 1000000000 #define CHECK_MAX_FREQ 900000000 struct clockcheck { -- 2.26.3 |