diff options
| author | Will Hawkins <[email protected]> | 2023-02-10 18:15:50 -0500 |
|---|---|---|
| committer | Will Hawkins <[email protected]> | 2023-02-10 18:15:50 -0500 |
| commit | 14d738b379c5a64f70c77795f06b3716eb6c4c57 (patch) | |
| tree | 104df9aabc0e9351ea660445c479fb3c329996c8 /stabilizer/rev3.go | |
| parent | c6fe792af023b1bbfc7f56a0319973e4bd1a5de2 (diff) | |
[Cleanup] Output and comments
Diffstat (limited to 'stabilizer/rev3.go')
| -rw-r--r-- | stabilizer/rev3.go | 4 |
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 |
