From 569f4af9656e1f56b84fb0c3fbbeebd5b6bf9714 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 5 Mar 2019 15:47:11 +0100 Subject: use new verbosity system in allocator.py --- bench.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bench.py') diff --git a/bench.py b/bench.py index 42fa992..8e4bbb5 100755 --- a/bench.py +++ b/bench.py @@ -62,14 +62,14 @@ def main(): subprocess.run(make_cmd) - # Prepare compared allocators allocators_file = os.path.join("build", "allocators", "allocators.py") if args.allocators or os.path.isfile(allocators_file): allocators_files = args.allocators or allocators_file with open(allocators_files, "r") as f: - g = {"verbosity": verbosity} + print_status("Sourcing allocators definition ...") + g= {} exec(f.read(), g) src.allocators.allocators = g["allocators"] -- cgit v1.2.3