diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-05-11 14:14:23 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-06-02 11:18:47 +0200 |
| commit | b73a5bd3d419f3f0854701edf1d6faa94df989ca (patch) | |
| tree | 4346e5d13ef6d40c11f2ba232137a0c913a7ec51 | |
| parent | 855dc0f831447485a66ed042a6265537d4fe5bd2 (diff) | |
| download | allocbench-b73a5bd3d419f3f0854701edf1d6faa94df989ca.tar.gz allocbench-b73a5bd3d419f3f0854701edf1d6faa94df989ca.zip | |
plots.py: export get_y_data
| -rw-r--r-- | allocbench/benchmarks/dj_trace.py | 2 | ||||
| -rw-r--r-- | allocbench/plots.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/allocbench/benchmarks/dj_trace.py b/allocbench/benchmarks/dj_trace.py index d24a2b5..09adcd4 100644 --- a/allocbench/benchmarks/dj_trace.py +++ b/allocbench/benchmarks/dj_trace.py @@ -384,7 +384,7 @@ class BenchmarkDJTrace(Benchmark): file=summary_file) for perm in self.iterate_args(args=args): - cycles = abplt._get_y_data(self, "{cycles}", allocator, + cycles = abplt.get_y_data(self, "{cycles}", allocator, perm)[0] times = func_times_means[allocator][perm] rss = rss_means[allocator][perm] diff --git a/allocbench/plots.py b/allocbench/plots.py index 2d2bc8c..c73b737 100644 --- a/allocbench/plots.py +++ b/allocbench/plots.py @@ -133,7 +133,7 @@ def _eval_with_stat(bench, evaluation, alloc, perm, stat): return nan -def _get_y_data(bench, expression, allocator, perms, stat="mean", scale=None): +def get_y_data(bench, expression, allocator, perms, stat="mean", scale=None): """Helper to get the y data of an allocator for given permutations""" y_data = [] for perm in perms: |
