From 0e467466b1171f162948e9aaa369c6117d915e05 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 9 Mar 2020 19:14:54 +0100 Subject: 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 --- src/benchmarks/larson.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/benchmarks/larson.py') 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() -- cgit v1.2.3