diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-07-07 15:24:38 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-07-07 15:24:38 +0200 |
| commit | 241ae2bf7f28741cc6a3c50730e9d08ee54dfb17 (patch) | |
| tree | b46d76cb61e14956f4894d6452b5f645b1d1c00b | |
| parent | 5133c0cbe7a99d32e9d45bc7f61b13c5dda68ac1 (diff) | |
| download | allocbench-241ae2bf7f28741cc6a3c50730e9d08ee54dfb17.tar.gz allocbench-241ae2bf7f28741cc6a3c50730e9d08ee54dfb17.zip | |
make format
| -rw-r--r-- | allocbench/allocator.py | 10 | ||||
| -rw-r--r-- | allocbench/allocators/speedymalloc.py | 7 | ||||
| -rw-r--r-- | allocbench/benchmarks/espresso.py | 4 |
3 files changed, 11 insertions, 10 deletions
diff --git a/allocbench/allocator.py b/allocbench/allocator.py index 5ba64ef..74871b6 100644 --- a/allocbench/allocator.py +++ b/allocbench/allocator.py @@ -51,8 +51,9 @@ class Allocator: Allocator.build will compile the allocator and produce a for allocbench usable allocator dict""" allowed_attributes = [ - "analyze_alloc", "binary_suffix", "cmd_prefix", "ld_preload", "ld_library_path", - "color", "sources", "version", "patches", "prepare_cmds", "build_cmds" + "analyze_alloc", "binary_suffix", "cmd_prefix", "ld_preload", + "ld_library_path", "color", "sources", "version", "patches", + "prepare_cmds", "build_cmds" ] binary_suffix = None @@ -272,7 +273,10 @@ def collect_allocators(allocators): ret = {} for name in allocators: if name == "all": - return {a: available_allocators[a].build() for a in available_allocators} + return { + a: available_allocators[a].build() + for a in available_allocators + } if name == "installed": print_status("Using system-wide installed allocators ...") ret.update(collect_installed_allocators()) diff --git a/allocbench/allocators/speedymalloc.py b/allocbench/allocators/speedymalloc.py index 7bfd51c..fc3e27e 100644 --- a/allocbench/allocators/speedymalloc.py +++ b/allocbench/allocators/speedymalloc.py @@ -86,7 +86,6 @@ speedymalloc_4095_sc_128 = Speedymalloc("speedymalloc_4095_sc_128", }, version=VERSION) -speedymalloc_no_glab = Speedymalloc( - "speedymalloc_no_glab", - options={"max_lab_size": -1}, - version=VERSION) +speedymalloc_no_glab = Speedymalloc("speedymalloc_no_glab", + options={"max_lab_size": -1}, + version=VERSION) diff --git a/allocbench/benchmarks/espresso.py b/allocbench/benchmarks/espresso.py index 32efa8b..dbc099b 100644 --- a/allocbench/benchmarks/espresso.py +++ b/allocbench/benchmarks/espresso.py @@ -68,9 +68,7 @@ class BenchmarkEspresso(Benchmark): name = "espresso" self.cmd = "espresso{binary_suffix} {file}" - self.args = { - "file": ["largest.espresso"] - } + self.args = {"file": ["largest.espresso"]} self.requirements = ["espresso"] self.run_dir = os.path.join(BENCHSRCDIR, name) |
