aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--allocbench/benchmarks/dj_trace.py2
-rw-r--r--allocbench/plots.py2
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: