Re: [Linuxptp-devel] [PATCH v3 5/5] clockcheck: Increase minimum interval.
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Keller, J. E <jac...@in...> - 2021-06-02 01:08:53
|
> -----Original Message----- > From: Miroslav Lichvar <mli...@re...> > Sent: Monday, May 31, 2021 2:08 AM > To: lin...@li... > Subject: [Linuxptp-devel] [PATCH v3 5/5] 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 <mli...@re...> So this is a change from 10 times a second to once a second? Seems ok to me. Reviewed-by: Jacob Keller <jac...@in...> Thanks, Jake > --- > 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 > > > > _______________________________________________ > Linuxptp-devel mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linuxptp-devel |