aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/loop.py (renamed from loop.py)13
1 files changed, 12 insertions, 1 deletions
diff --git a/loop.py b/src/loop.py
index 3f7120f..9590710 100644
--- a/loop.py
+++ b/src/loop.py
@@ -1,6 +1,6 @@
import multiprocessing
-from benchmark import Benchmark
+from src.benchmark import Benchmark
class Benchmark_Loop( Benchmark ):
def __init__(self):
@@ -34,4 +34,15 @@ class Benchmark_Loop( Benchmark ):
filepostfix="memusage",
sumdir=sumdir)
+ self.plot_fixed_arg("({L1-dcache-load-misses}/{L1-dcache-loads})*100",
+ ylabel='"L1 misses in %"',
+ title= '"Loop l1 cache misses: " + arg + " " + str(arg_value)',
+ filepostfix="l1misses",
+ sumdir=sumdir)
+
+ # Speed Matrix
+ self.write_best_doublearg_tex_table("perm.nthreads / (float({task-clock})/1000)",
+ filepostfix="memusage.matrix",
+ sumdir=sumdir)
+
loop = Benchmark_Loop()