From 01abb33c0851f89e4f96c757c928366df75484ab Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Mon, 31 May 2021 11:07:56 +0200 Subject: [PATCH 05/57] clockcheck: Increase minimum interval. 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 Reviewed-by: Jacob Keller [commit a082bcd700e4955ebaa00d7039bf4bce92048ac4 upstream] Signed-off-by: Jim Somerville Signed-off-by: Andre Mauricio Zelak --- 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.30.2