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/falsesharing.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/benchmarks/falsesharing.py') diff --git a/src/benchmarks/falsesharing.py b/src/benchmarks/falsesharing.py index b9d0006..5c18367 100644 --- a/src/benchmarks/falsesharing.py +++ b/src/benchmarks/falsesharing.py @@ -83,7 +83,7 @@ class BenchmarkFalsesharing(Benchmark): "{speedup}", ylabel="Speedup", title="Speedup: {arg} {arg_value}", - filepostfix="speedup", + file_postfix="speedup", autoticks=False, fixed=["bench"]) @@ -92,7 +92,7 @@ class BenchmarkFalsesharing(Benchmark): "{l1chache_misses}", ylabel="l1 cache misses in %", title="cache misses: {arg} {arg_value}", - filepostfix="l1-misses", + file_postfix="l1-misses", autoticks=False, fixed=["bench"]) @@ -100,7 +100,7 @@ class BenchmarkFalsesharing(Benchmark): # "({LLC-load-misses}/{LLC-loads})*100", # ylabel="llc cache misses in %", # title="LLC misses: {arg} {arg_value}", - # filepostfix="llc-misses", + # file_postfix="llc-misses", # autoticks=False, # fixed=["bench"]) @@ -109,7 +109,7 @@ class BenchmarkFalsesharing(Benchmark): "expression": "{speedup}", "sort": ">" }], - filepostfix="speedup.table") + file_postfix="speedup.table") # plt.export_stats_to_csv(self, "speedup", "time") # plt.export_stats_to_csv(self, "l1chache_misses", "l1-misses") -- cgit v1.2.3