diff options
| author | Will Hawkins <[email protected]> | 2022-11-07 01:54:24 -0500 |
|---|---|---|
| committer | Will Hawkins <[email protected]> | 2022-12-11 16:53:59 -0500 |
| commit | 094eb99990f1cf734efb8104e0089dbc6920547e (patch) | |
| tree | 8b8bb26481690f852115ebc236be169669f1b4f0 /constants/constants.go | |
| parent | 096b9d30559f86e07117ff5459c720900a408a11 (diff) | |
[Feature] Rev 3 of Stability (Basic implementation)
Diffstat (limited to 'constants/constants.go')
| -rw-r--r-- | constants/constants.go | 4 |
1 files changed, 1 insertions, 3 deletions
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 |
