diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2019-08-27 17:11:21 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2019-08-27 17:11:21 +0200 |
| commit | 7e298c025da08d0de096df3fcac7c8fafac9f5c2 (patch) | |
| tree | d905bee6549430b25580d289cdd44776718c5b55 /src/benchmark.py | |
| parent | 93e3aac6315c17a74e63f02053a3e8e2e6b21928 (diff) | |
| download | allocbench-7e298c025da08d0de096df3fcac7c8fafac9f5c2.tar.gz allocbench-7e298c025da08d0de096df3fcac7c8fafac9f5c2.zip | |
remove verbosity argument from hooks
Diffstat (limited to 'src/benchmark.py')
| -rw-r--r-- | src/benchmark.py | 12 |
1 files changed, 3 insertions, 9 deletions
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() |
