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/realloc.py | |
| parent | ff939e64efa808c06d8a548bf133a9dea9b1023c (diff) | |
| download | allocbench-9cf7987ca27bcc54c1326c2d7256543a332c3ff1.tar.gz allocbench-9cf7987ca27bcc54c1326c2d7256543a332c3ff1.zip | |
use plots from src.plots
Diffstat (limited to 'src/benchmarks/realloc.py')
| -rw-r--r-- | src/benchmarks/realloc.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/benchmarks/realloc.py b/src/benchmarks/realloc.py index 952913f..251185e 100644 --- a/src/benchmarks/realloc.py +++ b/src/benchmarks/realloc.py @@ -16,6 +16,7 @@ # along with allocbench. If not, see <http://www.gnu.org/licenses/>. """Definition of the realloc micro benchmark""" +import src.plots as plt from src.benchmark import Benchmark @@ -33,13 +34,13 @@ class BenchmarkRealloc(Benchmark): super().__init__(name) def summary(self): - self.barplot_single_arg("{task-clock}", + plt.barplot_single_arg(self, "{task-clock}", ylabel='"task-clock in ms"', title='"realloc micro benchmark"', filepostfix="time") - self.export_stats_to_csv("task-clock") - self.export_stats_to_dataref("task-clock") + plt.export_stats_to_csv(self, "task-clock") + plt.export_stats_to_dataref(self, "task-clock") realloc = BenchmarkRealloc() |
