diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-02-21 14:19:38 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-02-21 14:19:38 +0100 |
| commit | 9cf7987ca27bcc54c1326c2d7256543a332c3ff1 (patch) | |
| tree | 637df2da3aeb50ee94ab5dc7564e54eca79d9cb6 /src/benchmarks/t_test1.py | |
| parent | ff939e64efa808c06d8a548bf133a9dea9b1023c (diff) | |
| download | allocbench-9cf7987ca27bcc54c1326c2d7256543a332c3ff1.tar.gz allocbench-9cf7987ca27bcc54c1326c2d7256543a332c3ff1.zip | |
use plots from src.plots
Diffstat (limited to 'src/benchmarks/t_test1.py')
| -rw-r--r-- | src/benchmarks/t_test1.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/benchmarks/t_test1.py b/src/benchmarks/t_test1.py index bdc7c83..119f2a5 100644 --- a/src/benchmarks/t_test1.py +++ b/src/benchmarks/t_test1.py @@ -17,6 +17,7 @@ """Definition of the commonly used t-test1 allocator test""" from src.benchmark import Benchmark +import src.plots as plt class BenchmarkTTest1(Benchmark): @@ -41,14 +42,14 @@ class BenchmarkTTest1(Benchmark): # mops / per second yval = "perm.nthreads / ({task-clock}/1000)" # Speed - self.plot_fixed_arg(yval, + plt.plot_fixed_arg(self, yval, ylabel='"Mops / CPU second"', title='"T-Ttest1: " + arg + " " + str(arg_value)', filepostfix="time", autoticks=False) # L1 cache misses - self.plot_fixed_arg( + plt.plot_fixed_arg(self, "({L1-dcache-load-misses}/{L1-dcache-loads})*100", ylabel='"L1 misses in %"', title='"T-Test1 l1 cache misses: " + arg + " " + str(arg_value)', @@ -56,16 +57,16 @@ class BenchmarkTTest1(Benchmark): autoticks=False) # Speed Matrix - self.write_best_doublearg_tex_table(yval, filepostfix="mops.matrix") + plt.write_best_doublearg_tex_table(self, yval, filepostfix="mops.matrix") - self.write_tex_table([{ + plt.write_tex_table(self, [{ "label": "MOPS/s", "expression": yval, "sort": ">" }], filepostfix="mops.table") - self.export_stats_to_csv("task-clock") + plt.export_stats_to_csv(self, "task-clock") t_test1 = BenchmarkTTest1() |
