From 57c769cce26aa6e373f637f578b2f8c76a1e7245 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 31 Jul 2019 18:52:37 +0200 Subject: add facts to dataref export --- src/benchmarks/dj_trace.py | 8 ++++---- src/benchmarks/loop.py | 4 ++-- src/benchmarks/mysql.py | 4 ++-- src/benchmarks/realloc.py | 4 ++-- src/benchmarks/t_test1.py | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) (limited to 'src/benchmarks') 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() -- cgit v1.2.3