aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2019-03-10 23:44:01 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2019-03-10 23:44:01 +0100
commit56be2bcb517d3830e8d43265faf511623845b5e2 (patch)
treeaa7327447f12cb39db98772c92b0c26cc963b18a
parent1f658ddc001f2aa101be8441dad7a6bde7ba6da4 (diff)
downloadallocbench-56be2bcb517d3830e8d43265faf511623845b5e2.tar.gz
allocbench-56be2bcb517d3830e8d43265faf511623845b5e2.zip
fix time recording
-rwxr-xr-xbench.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench.py b/bench.py
index 0340a08..6e36d5b 100755
--- a/bench.py
+++ b/bench.py
@@ -110,7 +110,7 @@ def main():
else:
starttime = datetime.datetime.now().isoformat()
# strip seconds from string
- starttime = start_time[:start_time.rfind(':')]
+ starttime = starttime[:starttime.rfind(':')]
src.globalvars.facts["starttime"] = starttime
# Create result directory if we save or summarize results