aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2018-09-08 12:48:11 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2018-09-08 12:48:11 +0200
commit68ddcf81f2768509b4bdc14df70d518dbd9e6811 (patch)
treed3c03138d912b0e982783dce612f2f4ec20d01e6
parentc70ba69d146eee6392528cafd243ac7d0b17e6c6 (diff)
downloadallocbench-68ddcf81f2768509b4bdc14df70d518dbd9e6811.tar.gz
allocbench-68ddcf81f2768509b4bdc14df70d518dbd9e6811.zip
fix benchmark counting
-rw-r--r--benchmark.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark.py b/benchmark.py
index 5b0fc67..920772f 100644
--- a/benchmark.py
+++ b/benchmark.py
@@ -171,10 +171,10 @@ class Benchmark (object):
def run(self, verbose=False, runs=5):
n = len(list(self.iterate_args())) * len(self.targets)
- i = 0
for run in range(1, runs + 1):
print(str(run) + ". run")
+ i = 0
for tname, t in self.targets.items():
if not tname in self.results:
self.results[tname] = {}