diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-02-20 14:43:41 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-02-20 14:43:41 +0100 |
| commit | 53b51b8522feb9b82899245c7fd52fa341fd9587 (patch) | |
| tree | 7b287eaa7a0611ab133f9e88dfe19bf7559f73d6 | |
| parent | 9c9dd922379312fe744307a71ad1b8715098e18b (diff) | |
| download | allocbench-53b51b8522feb9b82899245c7fd52fa341fd9587.tar.gz allocbench-53b51b8522feb9b82899245c7fd52fa341fd9587.zip | |
rename gperftools tcmallocs
| -rw-r--r-- | src/allocators/tcmalloc.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/allocators/tcmalloc.py b/src/allocators/tcmalloc.py index 97c94e2..44cc10e 100644 --- a/src/allocators/tcmalloc.py +++ b/src/allocators/tcmalloc.py @@ -32,7 +32,7 @@ class TCMalloc(Allocator): self.build_cmds = [ "cd {srcdir}; bazel build tcmalloc/tcmalloc.so --compilation_mode opt", "mkdir -p {dir}", - "cp {srcdir}/bazel-bin/tcmalloc/tcmalloc.so {dir}/libtcmalloc.so" + "cp -f {srcdir}/bazel-bin/tcmalloc/tcmalloc.so {dir}/libtcmalloc.so" ] super().__init__(name, **kwargs) @@ -71,18 +71,18 @@ tcmalloc_gperftools = TCMallocGperftools("TCMalloc-gperftools", color="xkcd:dark blue", version="gperftools-2.7") -tcmalloc_gperftools_nofs = TCMallocGperftools("TCMalloc-NoFalsesharing", +tcmalloc_gperftools_nofs = TCMallocGperftools("TCMalloc-Gperftools-NoFalsesharing", patches=["{patchdir}/tcmalloc_2.7_no_active_falsesharing.patch"], version="gperftools-2.7", color="xkcd:navy") -tcmalloc_gperftools_align = TCMallocGperftools("TCMalloc-Aligned", +tcmalloc_gperftools_align = TCMallocGperftools("TCMalloc-Gperftools-Aligned", version="gperftools-2.7", color="xkcd:navy blue") tcmalloc_gperftools_align.LD_PRELOAD = f"{BUILDDIR}/align_to_cl.so {tcmalloc_gperftools_align.LD_PRELOAD}" -tcmalloc_gperftools_cacheline_exclusive = TCMallocGperftools("TCMalloc-Cacheline-Exclusive", +tcmalloc_gperftools_cacheline_exclusive = TCMallocGperftools("TCMalloc-Gperftools-Cacheline-Exclusive", patches=["{patchdir}/tcmalloc_2.7_cacheline_exclusive.patch"], version="gperftools-2.7", color="xkcd:royal blue") |
