aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2019-04-10 13:27:04 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2019-04-10 13:27:04 +0200
commit76fb0779b8fc8017acea5fe983e39d6e7b148770 (patch)
tree44ac149983a52a23d42b40d525f668999c33b9e9
parentccf2945d4ee13ea7155b0ac1812ed0571fd45c8b (diff)
downloadallocbench-76fb0779b8fc8017acea5fe983e39d6e7b148770.tar.gz
allocbench-76fb0779b8fc8017acea5fe983e39d6e7b148770.zip
add normalized time plot
-rw-r--r--src/benchmarks/loop.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/benchmarks/loop.py b/src/benchmarks/loop.py
index b2794e6..2ec533e 100644
--- a/src/benchmarks/loop.py
+++ b/src/benchmarks/loop.py
@@ -23,6 +23,14 @@ class Benchmark_Loop(Benchmark):
filepostfix="time",
autoticks=False)
+ scale = list(self.allocators.keys())[0]
+ self.plot_fixed_arg("perm.nthreads / ({task-clock}/1000)",
+ ylabel='"MOPS/cpu-second normalized {}"'.format(scale),
+ title='"Loop: " + arg + " " + str(arg_value) + " normalized {}"'.format(scale),
+ filepostfix="time.norm",
+ scale=scale,
+ autoticks=False)
+
# L1 cache misses
self.plot_fixed_arg("({L1-dcache-load-misses}/{L1-dcache-loads})*100",
ylabel='"L1 misses in %"',