aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-02-20 14:43:41 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-02-20 14:43:41 +0100
commit53b51b8522feb9b82899245c7fd52fa341fd9587 (patch)
tree7b287eaa7a0611ab133f9e88dfe19bf7559f73d6 /src
parent9c9dd922379312fe744307a71ad1b8715098e18b (diff)
downloadallocbench-53b51b8522feb9b82899245c7fd52fa341fd9587.tar.gz
allocbench-53b51b8522feb9b82899245c7fd52fa341fd9587.zip
rename gperftools tcmallocs
Diffstat (limited to 'src')
-rw-r--r--src/allocators/tcmalloc.py8
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")