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/larson.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/larson.py')
| -rw-r--r-- | src/benchmarks/larson.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/benchmarks/larson.py b/src/benchmarks/larson.py index 5f153ea..d2e9286 100644 --- a/src/benchmarks/larson.py +++ b/src/benchmarks/larson.py @@ -85,14 +85,14 @@ class BenchmarkLarson(Benchmark): "{throughput}/1000000", ylabel="MOPS/s", title="Larson: {arg} {arg_value}", - filepostfix="throughput") + file_postfix="throughput") plt.plot_fixed_arg( self, "({L1-dcache-load-misses}/{L1-dcache-loads})*100", ylabel="l1 cache misses in %", title="Larson cache misses: {arg} {arg_value}", - filepostfix="cachemisses") + file_postfix="cachemisses") larson = BenchmarkLarson() |
