aboutsummaryrefslogtreecommitdiff
path: root/summarize.py
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2019-11-28 14:37:57 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2019-11-28 14:37:57 +0100
commitee3d921b2d73ec90f3a423016f97210ede4781d9 (patch)
treeb441f800591fd86c5e2ff6268eba10fb9565f1d3 /summarize.py
parent53ac585bea0a606e39e4d87a917732f506757150 (diff)
downloadallocbench-ee3d921b2d73ec90f3a423016f97210ede4781d9.tar.gz
allocbench-ee3d921b2d73ec90f3a423016f97210ede4781d9.zip
support tikz plot using tikzplotlib
Diffstat (limited to 'summarize.py')
-rwxr-xr-xsummarize.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/summarize.py b/summarize.py
index dab2742..6681137 100755
--- a/summarize.py
+++ b/summarize.py
@@ -99,6 +99,7 @@ def main():
parser = argparse.ArgumentParser(description="Summarize allocbench results in allocator sets")
parser.add_argument("results", help="path to results", type=str)
+ parser.add_argument("-t", "--file-ext", help="file extension used for plots", type=str)
parser.add_argument("--license", help="print license info and exit", action='store_true')
parser.add_argument("--version", help="print version info and exit", action='store_true')
parser.add_argument("-b", "--benchmarks", help="benchmarks to summarize", nargs='+')
@@ -110,6 +111,9 @@ def main():
print_error(f"{args.results} is no directory")
exit(1)
+ if args.file_ext:
+ src.globalvars.summary_file_ext = args.file_ext
+
src.globalvars.resdir = args.results
os.chdir(args.results)