diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-01-17 03:06:15 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-02-09 15:30:22 +0100 |
| commit | 969fe0f6cd030bbd9dbfac0de1c0df0149486ffd (patch) | |
| tree | b6a5eaaaacb3d916459bfa4c8547d31c4e890f9a /src/allocators/tcmalloc.py | |
| parent | 82d74f02983df932eb5818a5b76a87efa055bd5a (diff) | |
| download | allocbench-969fe0f6cd030bbd9dbfac0de1c0df0149486ffd.tar.gz allocbench-969fe0f6cd030bbd9dbfac0de1c0df0149486ffd.zip | |
use align_to_cl.so in front of TCMalloc
Diffstat (limited to 'src/allocators/tcmalloc.py')
| -rw-r--r-- | src/allocators/tcmalloc.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/allocators/tcmalloc.py b/src/allocators/tcmalloc.py index f81f88b..ecd03e1 100644 --- a/src/allocators/tcmalloc.py +++ b/src/allocators/tcmalloc.py @@ -17,7 +17,7 @@ """TCMalloc definition for allocbench""" -from src.allocator import Allocator +from src.allocator import Allocator, BUILDDIR from src.artifact import GitArtifact @@ -42,3 +42,9 @@ tcmalloc_nofs = TCMalloc("TCMalloc-NoFalsesharing", patches=["{patchdir}/tcmalloc_2.7_no_active_falsesharing.patch"], version="gperftools-2.7", color="xkcd:navy") + +tcmalloc_align = TCMalloc("TCMalloc-Aligned", + version="gperftools-2.7", + color="xkcd:navy") + +tcmalloc_align.LD_PRELOAD = f"{BUILDDIR}/align_to_cl.so {tcmalloc_align.LD_PRELOAD}" |
