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/benchmarks/mysql.py | |
| parent | 93e3aac6315c17a74e63f02053a3e8e2e6b21928 (diff) | |
| download | allocbench-7e298c025da08d0de096df3fcac7c8fafac9f5c2.tar.gz allocbench-7e298c025da08d0de096df3fcac7c8fafac9f5c2.zip | |
remove verbosity argument from hooks
Diffstat (limited to 'src/benchmarks/mysql.py')
| -rw-r--r-- | src/benchmarks/mysql.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/benchmarks/mysql.py b/src/benchmarks/mysql.py index 8beb7e6..544d72a 100644 --- a/src/benchmarks/mysql.py +++ b/src/benchmarks/mysql.py @@ -96,12 +96,13 @@ class BenchmarkMYSQL(Benchmark): self.shutdown_servers() - def cleanup(self): + @staticmethod + def cleanup(): if os.path.exists("mysql_test"): print_status("Delete mysqld directory") shutil.rmtree("mysql_test", ignore_errors=True) - def process_output(self, result, stdout, stderr, allocator, perm, verbose): + def process_output(self, result, stdout, stderr, allocator, perm): result["transactions"] = re.search("transactions:\\s*(\\d*)", stdout).group(1) result["queries"] = re.search("queries:\\s*(\\d*)", stdout).group(1) # Latency |
