summaryrefslogtreecommitdiff
path: root/stabilizer/rev3.go
diff options
context:
space:
mode:
Diffstat (limited to 'stabilizer/rev3.go')
-rw-r--r--stabilizer/rev3.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/stabilizer/rev3.go b/stabilizer/rev3.go
index d0518c0..fa9b378 100644
--- a/stabilizer/rev3.go
+++ b/stabilizer/rev3.go
@@ -85,7 +85,7 @@ func (r3 *ProbeStabilizer) IsStable() bool {
}
// Stability is determined by whether or not the standard deviation of the values
- // is within 5% of the average.
+ // is within some percentage of the average.
stabilityCutoff := r3.movingAverages.CalculateAverage() * (r3.stabilityStandardDeviation / 100.0)
isStable := stddev <= stabilityCutoff
@@ -145,7 +145,7 @@ func (r3 *ThroughputStabilizer) IsStable() bool {
}
// Stability is determined by whether or not the standard deviation of the values
- // is within 5% of the average.
+ // is within some percentage of the average.
stabilityCutoff := r3.movingAverages.CalculateAverage() * (r3.stabilityStandardDeviation / 100.0)
isStable := stddev <= stabilityCutoff