diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2019-01-15 16:09:24 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2019-01-15 18:29:39 +0100 |
| commit | 183795e6a9370fb06002574a3cc413cb475601e8 (patch) | |
| tree | 27369517a10163fe5b25da596fc7bca3b4017501 | |
| parent | 3a5d4ecc1a5aa8b111caae8703d94aac244ffc6b (diff) | |
| download | allocbench-183795e6a9370fb06002574a3cc413cb475601e8.tar.gz allocbench-183795e6a9370fb06002574a3cc413cb475601e8.zip | |
move loop.py to src/ and add cache miss plot and best matrix
| -rw-r--r-- | src/loop.py (renamed from loop.py) | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -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() |
