From 7e298c025da08d0de096df3fcac7c8fafac9f5c2 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 27 Aug 2019 17:11:21 +0200 Subject: remove verbosity argument from hooks --- src/benchmark.py | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'src/benchmark.py') diff --git a/src/benchmark.py b/src/benchmark.py index 28eaadd..9bf5b55 100644 --- a/src/benchmark.py +++ b/src/benchmark.py @@ -27,9 +27,6 @@ class Benchmark (object): defaults = { "name": "default_benchmark", - "description": ("This is the default benchmark description please add" - "your own useful one."), - "measure_cmd": "perf stat -x, -d", "cmd": "true", "server_cmds": [], @@ -310,8 +307,7 @@ class Benchmark (object): # Preallocator hook if hasattr(self, "preallocator_hook"): - self.preallocator_hook((alloc_name, alloc), run, env, - verbose=src.globalvars.verbosity) + self.preallocator_hook((alloc_name, alloc), run, env) # Run benchmark for alloc for perm in self.iterate_args(): @@ -402,8 +398,7 @@ class Benchmark (object): if hasattr(self, "process_output"): self.process_output(result, res.stdout, res.stderr, - alloc_name, perm, - verbose=src.globalvars.verbosity) + alloc_name, perm) # save a valid result so we can expand invalid ones if valid_result is not None: @@ -420,8 +415,7 @@ class Benchmark (object): self.shutdown_servers() if hasattr(self, "postallocator_hook"): - self.postallocator_hook((alloc_name, alloc), run, - verbose=src.globalvars.verbosity) + self.postallocator_hook((alloc_name, alloc), run) print() -- cgit v1.2.3