diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2018-09-16 17:37:04 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2018-09-16 17:37:04 +0200 |
| commit | 074f8a6b591a3a197af85cc31e489606af0ba133 (patch) | |
| tree | 47b43ccf40e235843a5048813cc0217b3b828bdc /benchmark.py | |
| parent | ba66271d30fbcd638438c4be4bfcae0ac4937cad (diff) | |
| download | allocbench-074f8a6b591a3a197af85cc31e489606af0ba133.tar.gz allocbench-074f8a6b591a3a197af85cc31e489606af0ba133.zip | |
append whitespace to measure oder analyse cmd
Diffstat (limited to 'benchmark.py')
| -rw-r--r-- | benchmark.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/benchmark.py b/benchmark.py index 109fefe..365397f 100644 --- a/benchmark.py +++ b/benchmark.py @@ -17,8 +17,8 @@ class Benchmark (object): "name" : "default_benchmark", "description" : "This is the default benchmark description please add your own useful one.", - "measure_cmd" : "perf stat -x, -dd ", - "analyse_cmd" : "memusage -p {} -t ", + "measure_cmd" : "perf stat -x, -d", + "analyse_cmd" : "memusage -p {} -t", "cmd" : "true", "targets" : common_targets, } @@ -137,7 +137,7 @@ class Benchmark (object): file_name += ".memusage" if not nolibmemusage: - actual_cmd = self.analyse_cmd.format(file_name + ".png") + actual_cmd = self.analyse_cmd.format(file_name + ".png") + " " if "binary_suffix" in self.cmd: perm["binary_suffix"] = "" @@ -194,7 +194,7 @@ class Benchmark (object): i += 1 print(i, "of", n,"\r", end='') - actual_cmd = self.measure_cmd + actual_cmd = self.measure_cmd + " " perm_dict = perm._asdict() perm_dict.update(t) |
