From 094eb99990f1cf734efb8104e0089dbc6920547e Mon Sep 17 00:00:00 2001 From: Will Hawkins Date: Mon, 7 Nov 2022 01:54:24 -0500 Subject: [Feature] Rev 3 of Stability (Basic implementation) --- constants/constants.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'constants') diff --git a/constants/constants.go b/constants/constants.go index 6934459..99de22d 100644 --- a/constants/constants.go +++ b/constants/constants.go @@ -28,15 +28,13 @@ var ( InstantaneousThroughputMeasurementCount int = 4 InstantaneousProbeMeasurementCount int = 1 // The number of instantaneous moving averages to consider when determining stability. - InstantaneousMovingAverageCount int = 4 + InstantaneousMovingAverageStabilityCount int = 4 // The standard deviation cutoff used to determine stability among the K preceding moving averages // of a measurement (as a percentage of the mean). StabilityStandardDeviation float64 = 5.0 // The amount of time that the client will cooldown if it is in debug mode. CooldownPeriod time.Duration = 4 * time.Second - // The number of probes to send when calculating RTT. - MeasurementProbeCount int = 5 // The amount of time that we give ourselves to calculate the RPM. RPMCalculationTime int = 10 -- cgit v1.2.3