From c6fe792af023b1bbfc7f56a0319973e4bd1a5de2 Mon Sep 17 00:00:00 2001 From: Will Hawkins Date: Fri, 10 Feb 2023 18:13:52 -0500 Subject: [Bugfix] Use 4 (!!) instantaneous probe measurements, not 1 Use 4 (the right number) instantaneous probe measurements to calculate the instantaneous moving average of probe measurements. --- constants/constants.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'constants') diff --git a/constants/constants.go b/constants/constants.go index 1f3ed57..8320295 100644 --- a/constants/constants.go +++ b/constants/constants.go @@ -26,7 +26,7 @@ var ( // The number of previous instantaneous measurements to consider when generating the so-called // instantaneous moving averages of a measurement. InstantaneousThroughputMeasurementCount uint64 = 4 - InstantaneousProbeMeasurementCount uint64 = 1 + InstantaneousProbeMeasurementCount uint64 = 4 // The number of instantaneous moving averages to consider when determining stability. InstantaneousMovingAverageStabilityCount uint64 = 4 // The standard deviation cutoff used to determine stability among the K preceding moving averages -- cgit v1.2.3