aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2019-03-06 13:51:08 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2019-03-06 13:51:08 +0100
commitb085aa0f6245440f1d7205944890819d226b456f (patch)
tree00d7f64c254472def619fa9735c8469a99ab5dc5
parent10b5cf36b30f3aefdf441a8b62f96218294c5fdc (diff)
downloadallocbench-b085aa0f6245440f1d7205944890819d226b456f.tar.gz
allocbench-b085aa0f6245440f1d7205944890819d226b456f.zip
fix scale_threads
-rw-r--r--src/benchmark.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/benchmark.py b/src/benchmark.py
index edf5b16..35987f5 100644
--- a/src/benchmark.py
+++ b/src/benchmark.py
@@ -35,7 +35,7 @@ class Benchmark (object):
steps = 1
if max_threads >= 20 and max_threads < 50:
steps = 2
- if max_threads >= 50 max_threads < 100:
+ if max_threads >= 50 and max_threads < 100:
steps = 5
if max_threads >= 100:
steps = 10