diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-03-09 19:14:54 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-03-09 19:14:54 +0100 |
| commit | 0e467466b1171f162948e9aaa369c6117d915e05 (patch) | |
| tree | 9037afdb2813a104c0d60cc49f572418215786c0 /src/benchmarks/loop.py | |
| parent | 19362370c09dd4ac945ed7cfff07d91f0db95353 (diff) | |
| download | allocbench-0e467466b1171f162948e9aaa369c6117d915e05.tar.gz allocbench-0e467466b1171f162948e9aaa369c6117d915e05.zip | |
improve matplotlib code
add new helper functions to get all y_values for a plot
use seperate figures for each plot
s/filepostfix/file_postfix/ to be consistent
Diffstat (limited to 'src/benchmarks/loop.py')
| -rw-r--r-- | src/benchmarks/loop.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/benchmarks/loop.py b/src/benchmarks/loop.py index 6d590c9..81d55cb 100644 --- a/src/benchmarks/loop.py +++ b/src/benchmarks/loop.py @@ -65,7 +65,7 @@ class BenchmarkLoop(Benchmark): "{mops}", ylabel="MOPS/cpu-second", title="Loop: {arg} {arg_value}", - filepostfix="time", + file_postfix="time", autoticks=False) # L1 cache misses @@ -74,21 +74,21 @@ class BenchmarkLoop(Benchmark): "({L1-dcache-load-misses}/{L1-dcache-loads})*100", ylabel="L1 misses in %", title="Loop l1 cache misses: {arg} {arg_value}", - filepostfix="l1misses", + file_postfix="l1misses", autoticks=False) # Speed Matrix plt.write_best_doublearg_tex_table( self, "{mops}", - filepostfix="time.matrix") + file_postfix="time.matrix") plt.write_tex_table(self, [{ "label": "MOPS/s", "expression": "{mops}", "sort": ">" }], - filepostfix="mops.table") + file_postfix="mops.table") # plt.export_stats_to_csv(self, "task-clock") # plt.export_stats_to_dataref(self, "task-clock") |
