aboutsummaryrefslogtreecommitdiff
path: root/src/benchmarks
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2019-07-31 18:52:37 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2019-07-31 18:52:37 +0200
commit57c769cce26aa6e373f637f578b2f8c76a1e7245 (patch)
tree57a964d718584c51ecfc6375d766450823df6cb9 /src/benchmarks
parentc9caf19bd09b597318d609f957f9a99841981d85 (diff)
downloadallocbench-57c769cce26aa6e373f637f578b2f8c76a1e7245.tar.gz
allocbench-57c769cce26aa6e373f637f578b2f8c76a1e7245.zip
add facts to dataref export
Diffstat (limited to 'src/benchmarks')
-rw-r--r--src/benchmarks/dj_trace.py8
-rw-r--r--src/benchmarks/loop.py4
-rw-r--r--src/benchmarks/mysql.py4
-rw-r--r--src/benchmarks/realloc.py4
-rw-r--r--src/benchmarks/t_test1.py2
5 files changed, 11 insertions, 11 deletions
diff --git a/src/benchmarks/dj_trace.py b/src/benchmarks/dj_trace.py
index 4d08de4..b262255 100644
--- a/src/benchmarks/dj_trace.py
+++ b/src/benchmarks/dj_trace.py
@@ -257,11 +257,11 @@ class Benchmark_DJ_Trace(Benchmark):
plt.savefig(".".join([self.name, perm.workload, "rss", "png"]))
plt.clf()
- self.export_to_csv("Max_RSS")
- self.export_to_csv("cputime")
+ self.export_stats_to_csv("Max_RSS")
+ self.export_stats_to_csv("cputime")
- self.export_to_dataref("Max_RSS")
- self.export_to_dataref("cputime")
+ self.export_stats_to_dataref("Max_RSS")
+ self.export_stats_to_dataref("cputime")
# Tables
for perm in self.iterate_args(args=args):
diff --git a/src/benchmarks/loop.py b/src/benchmarks/loop.py
index be0def8..595c54a 100644
--- a/src/benchmarks/loop.py
+++ b/src/benchmarks/loop.py
@@ -46,8 +46,8 @@ class Benchmark_Loop(Benchmark):
self.write_best_doublearg_tex_table("perm.nthreads / ({task-clock}/1000)",
filepostfix="memusage.matrix")
- self.export_to_csv("task-clock")
- self.export_to_dataref("task-clock")
+ self.export_stats_to_csv("task-clock")
+ self.export_stats_to_dataref("task-clock")
loop = Benchmark_Loop()
diff --git a/src/benchmarks/mysql.py b/src/benchmarks/mysql.py
index d8a5a83..8b9bd1c 100644
--- a/src/benchmarks/mysql.py
+++ b/src/benchmarks/mysql.py
@@ -202,8 +202,8 @@ class Benchmark_MYSQL(Benchmark):
print("\\end{tabular}", file=f)
- self.export_to_csv("transactions")
- self.export_to_dataref("transactions")
+ self.export_stats_to_csv("transactions")
+ self.export_stats_to_dataref("transactions")
mysql = Benchmark_MYSQL()
diff --git a/src/benchmarks/realloc.py b/src/benchmarks/realloc.py
index 7132d68..f3f3c2e 100644
--- a/src/benchmarks/realloc.py
+++ b/src/benchmarks/realloc.py
@@ -18,8 +18,8 @@ class Benchmark_Realloc(Benchmark):
ylabel='"task-clock in ms"',
title='"realloc micro benchmark"')
- self.export_to_csv("task-clock")
- self.export_to_dataref("task-clock")
+ self.export_stats_to_csv("task-clock")
+ self.export_stats_to_dataref("task-clock")
realloc = Benchmark_Realloc()
diff --git a/src/benchmarks/t_test1.py b/src/benchmarks/t_test1.py
index e43a511..3b774cd 100644
--- a/src/benchmarks/t_test1.py
+++ b/src/benchmarks/t_test1.py
@@ -47,7 +47,7 @@ class Benchmark_t_test1(Benchmark):
self.write_best_doublearg_tex_table(yval,
filepostfix="memusage.matrix")
- self.export_to_csv("task-clock")
+ self.export_stats_to_csv("task-clock")
t_test1 = Benchmark_t_test1()