summaryrefslogtreecommitdiffstats
path: root/storperf/utilities/steady_state.py
diff options
context:
space:
mode:
Diffstat (limited to 'storperf/utilities/steady_state.py')
-rw-r--r--storperf/utilities/steady_state.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/storperf/utilities/steady_state.py b/storperf/utilities/steady_state.py
index 0bbe21e..13f609d 100644
--- a/storperf/utilities/steady_state.py
+++ b/storperf/utilities/steady_state.py
@@ -38,15 +38,15 @@ def steady_state(data_series):
average_value is not None):
# Verification of the Steady State conditions following the SNIA
# definition
- range_condition = abs(range_value) < 0.20 * abs(average_value)
- slope_condition = abs(slope_value) < 0.10 * abs(average_value)
+ range_condition = abs(range_value) <= 0.20 * abs(average_value)
+ slope_condition = abs(slope_value) <= 0.10 * abs(average_value)
steady_state = range_condition and slope_condition
- logger.debug("Range %s < %s?" % (abs(range_value),
- (0.20 * abs(average_value))))
- logger.debug("Slope %s < %s?" % (abs(slope_value),
- (0.10 * abs(average_value))))
+ logger.debug("Range %s <= %s?" % (abs(range_value),
+ (0.20 * abs(average_value))))
+ logger.debug("Slope %s <= %s?" % (abs(slope_value),
+ (0.10 * abs(average_value))))
logger.debug("Steady State? %s" % steady_state)
else:
steady_state = False