Commit 183795e6 authored by Florian Fischer's avatar Florian Fischer
Browse files

move loop.py to src/ and add cache miss plot and best matrix

parent 3a5d4ecc
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()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment