diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2019-03-05 19:28:26 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2019-03-05 19:28:26 +0100 |
| commit | 639cfeb56d8c2928d820e6a3fa4cd86a2f2acb53 (patch) | |
| tree | 49e93bced2c034c67deaaefd7631f495844540e7 /bench.py | |
| parent | b32c14b548e1e0476a4ba5ad5da2c504f3cdd4d9 (diff) | |
| download | allocbench-639cfeb56d8c2928d820e6a3fa4cd86a2f2acb53.tar.gz allocbench-639cfeb56d8c2928d820e6a3fa4cd86a2f2acb53.zip | |
rework rebuild mechanism to use timestamps instead of pickle strings
Diffstat (limited to 'bench.py')
| -rwxr-xr-x | bench.py | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -65,11 +65,12 @@ def main(): allocators_file = os.path.join("build", "allocators", "allocators.py") if args.allocators or os.path.isfile(allocators_file): - allocators_files = args.allocators or allocators_file + allocators_file = args.allocators or allocators_file + src.globalvars.allocators_file = allocators_file - with open(allocators_files, "r") as f: + with open(allocators_file, "r") as f: print_status("Sourcing allocators definition ...") - g= {} + g = {} exec(f.read(), g) src.allocators.allocators = g["allocators"] |
