summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Hawkins <[email protected]>2023-02-10 18:13:52 -0500
committerWill Hawkins <[email protected]>2023-02-10 18:13:52 -0500
commitc6fe792af023b1bbfc7f56a0319973e4bd1a5de2 (patch)
tree0ca69bc7b510d532e7dc73ec8fa138d214faa523
parent0eafb34d7e2c9971c9341878a7c1d3ffa034418b (diff)
[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.
-rw-r--r--constants/constants.go2
1 files changed, 1 insertions, 1 deletions
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