aboutsummaryrefslogtreecommitdiff
path: root/src/benchmarks/falsesharing.py
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-03-09 19:14:54 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-03-09 19:14:54 +0100
commit0e467466b1171f162948e9aaa369c6117d915e05 (patch)
tree9037afdb2813a104c0d60cc49f572418215786c0 /src/benchmarks/falsesharing.py
parent19362370c09dd4ac945ed7cfff07d91f0db95353 (diff)
downloadallocbench-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/falsesharing.py')
-rw-r--r--src/benchmarks/falsesharing.py8
1 files changed, 4 insertions, 4 deletions
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")