aboutsummaryrefslogtreecommitdiff
path: root/src/benchmark.py
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2019-10-30 10:46:38 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2019-10-30 10:46:38 +0100
commit37c3d391c812aff94754c6c80bec3e61982e00a1 (patch)
treea96872c7508ac2cf598a8f6796e2b764e279333f /src/benchmark.py
parenta0bac24b506d158f9ae09e0532a07546ead4d0ce (diff)
downloadallocbench-37c3d391c812aff94754c6c80bec3e61982e00a1.tar.gz
allocbench-37c3d391c812aff94754c6c80bec3e61982e00a1.zip
introduce a global summary file extension
Diffstat (limited to 'src/benchmark.py')
-rw-r--r--src/benchmark.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/benchmark.py b/src/benchmark.py
index fd99fc4..0df2bc3 100644
--- a/src/benchmark.py
+++ b/src/benchmark.py
@@ -533,7 +533,7 @@ class Benchmark:
###### Summary helpers ######
def plot_single_arg(self, yval, ylabel="'y-label'", xlabel="'x-label'",
autoticks=True, title="'default title'", filepostfix="",
- sumdir="", arg="", scale=None, file_ext="png"):
+ sumdir="", arg="", scale=None, file_ext=src.globalvars.summary_file_ext):
args = self.results["args"]
allocators = self.results["allocators"]
@@ -572,7 +572,7 @@ class Benchmark:
def barplot_single_arg(self, yval, ylabel="'y-label'", xlabel="'x-label'",
title="'default title'", filepostfix="", sumdir="",
- arg="", scale=None, file_ext="png", yerr=True):
+ arg="", scale=None, file_ext=src.globalvars.summary_file_ext, yerr=True):
args = self.results["args"]
allocators = self.results["allocators"]
@@ -621,7 +621,7 @@ class Benchmark:
def plot_fixed_arg(self, yval, ylabel="'y-label'", xlabel="loose_arg",
autoticks=True, title="'default title'", filepostfix="",
- sumdir="", fixed=[], file_ext="png", scale=None):
+ sumdir="", fixed=[], file_ext=src.globalvars.summary_file_ext, scale=None):
args = self.results["args"]
allocators = self.results["allocators"]