aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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")