From 76fb0779b8fc8017acea5fe983e39d6e7b148770 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 10 Apr 2019 13:27:04 +0200 Subject: add normalized time plot --- src/benchmarks/loop.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/benchmarks/loop.py') 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 %"', -- cgit v1.2.3