diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-02-11 13:23:55 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-02-11 13:23:55 +0100 |
| commit | 60b860ce3619d5f165bf8eda6ad596d5d458d1e2 (patch) | |
| tree | 595626c7efb43dedbe30753357fa64383056357f /src/benchmarks/blowup.py | |
| parent | 9e2d7eb1cb952b398bd7363ab95ea9f1d4598ab1 (diff) | |
| download | allocbench-60b860ce3619d5f165bf8eda6ad596d5d458d1e2.tar.gz allocbench-60b860ce3619d5f165bf8eda6ad596d5d458d1e2.zip | |
move plotting code from src.benchmark to src.plots
Diffstat (limited to 'src/benchmarks/blowup.py')
| -rw-r--r-- | src/benchmarks/blowup.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/benchmarks/blowup.py b/src/benchmarks/blowup.py index aca9293..8f8e550 100644 --- a/src/benchmarks/blowup.py +++ b/src/benchmarks/blowup.py @@ -17,6 +17,7 @@ """Definition of the blowup micro benchmark""" from src.benchmark import Benchmark +import src.plots as plt class BenchmarkBlowup(Benchmark): @@ -53,15 +54,16 @@ class BenchmarkBlowup(Benchmark): } } - self.barplot_single_arg("{VmHWM}/1000", - ylabel='"VmHWM in MB"', - title='"blowup test"', - filepostfix="vmhwm") + plt.barplot_single_arg(self, + "{VmHWM}/1000", + ylabel='"VmHWM in MB"', + title='"blowup test"', + filepostfix="vmhwm") del allocators["Ideal-RSS"] del self.results["stats"]["Ideal-RSS"] - self.export_stats_to_dataref("VmHWM") + plt.export_stats_to_dataref(self, "VmHWM") blowup = BenchmarkBlowup() |
