aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2019-10-30 14:35:28 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2019-10-30 14:35:28 +0100
commit5d7ed8ac6168fb05b66f71a8191a7a394fba3c54 (patch)
tree20b8724b85743c5d0e525ba9b439fad81472dcca
parent8fa6601723399e242cf34437e0b4cbc028d7c765 (diff)
downloadallocbench-5d7ed8ac6168fb05b66f71a8191a7a394fba3c54.tar.gz
allocbench-5d7ed8ac6168fb05b66f71a8191a7a394fba3c54.zip
add tex tables to cfrac and espresso
-rw-r--r--src/benchmarks/cfrac.py8
-rw-r--r--src/benchmarks/espresso.py8
2 files changed, 16 insertions, 0 deletions
diff --git a/src/benchmarks/cfrac.py b/src/benchmarks/cfrac.py
index 0a0a8d5..df5001d 100644
--- a/src/benchmarks/cfrac.py
+++ b/src/benchmarks/cfrac.py
@@ -84,6 +84,14 @@ class BenchmarkCfrac(Benchmark):
title='"Cfrac VmHWM"',
filepostfix="vmhwm")
+ self.write_tex_table([{"label": "Runtime [ms]",
+ "expression": "{task-clock}",
+ "sort": "<"},
+ {"label": "Memusage [KB]",
+ "expression": "{VmHWM}",
+ "sort": "<"}],
+ filepostfix="table")
+
self.export_stats_to_dataref("task-clock")
self.export_stats_to_dataref("VmHWM")
diff --git a/src/benchmarks/espresso.py b/src/benchmarks/espresso.py
index 68e474c..7dbc73b 100644
--- a/src/benchmarks/espresso.py
+++ b/src/benchmarks/espresso.py
@@ -83,6 +83,14 @@ class BenchmarkEspresso(Benchmark):
title='"Espresso VmHWM"',
filepostfix="vmhwm")
+ self.write_tex_table([{"label": "Runtime [ms]",
+ "expression": "{task-clock}",
+ "sort": "<"},
+ {"label": "Memusage [KB]",
+ "expression": "{VmHWM}",
+ "sort": "<"}],
+ filepostfix="table")
+
self.export_stats_to_dataref("task-clock")
self.export_stats_to_dataref("VmHWM")