diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-05-05 14:35:43 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-05-05 14:35:43 +0200 |
| commit | 0bc23006f6f73b6284239de7fbef61d78884a656 (patch) | |
| tree | 53295c97c6fcda4df69e400fdd06aaa566401ace | |
| parent | 879e8cd0130754b0f0bf50eeeca18859095bd581 (diff) | |
| download | allocbench-0bc23006f6f73b6284239de7fbef61d78884a656.tar.gz allocbench-0bc23006f6f73b6284239de7fbef61d78884a656.zip | |
analyze: build allocators before setting globally LD_PRELOAD
| -rwxr-xr-x | src/analyse.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/analyse.py b/src/analyse.py index 5bbaf3c..bd08c98 100755 --- a/src/analyse.py +++ b/src/analyse.py @@ -87,6 +87,9 @@ def analyze_bench(bench): def analyze_allocators(bench, allocators): """Analyse a single benchmark for each allocator in allocators""" + # build analyzse allocator before globaly setting LD_PRELOAD + build_analyze_alloc() + for name, alloc in allocators.items(): print_status(f"Analysing {name} during {bench} ...") os.environ["LD_PRELOAD"] = alloc["LD_PRELOAD"] |
