aboutsummaryrefslogtreecommitdiff
path: root/src/allocators/tcmallocs.py
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-01-17 03:06:15 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-02-09 15:30:22 +0100
commit969fe0f6cd030bbd9dbfac0de1c0df0149486ffd (patch)
treeb6a5eaaaacb3d916459bfa4c8547d31c4e890f9a /src/allocators/tcmallocs.py
parent82d74f02983df932eb5818a5b76a87efa055bd5a (diff)
downloadallocbench-969fe0f6cd030bbd9dbfac0de1c0df0149486ffd.tar.gz
allocbench-969fe0f6cd030bbd9dbfac0de1c0df0149486ffd.zip
use align_to_cl.so in front of TCMalloc
Diffstat (limited to 'src/allocators/tcmallocs.py')
-rw-r--r--src/allocators/tcmallocs.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/allocators/tcmallocs.py b/src/allocators/tcmallocs.py
new file mode 100644
index 0000000..fe8121f
--- /dev/null
+++ b/src/allocators/tcmallocs.py
@@ -0,0 +1,23 @@
+# Copyright 2018-2019 Florian Fischer <florian.fl.fischer@fau.de>
+#
+# This file is part of allocbench.
+#
+# allocbench is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# allocbench is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with allocbench. If not, see <http://www.gnu.org/licenses/>.
+
+"""Collection containing all glibc variants"""
+
+from src.allocators.tcmalloc import tcmalloc, tcmalloc_nofs, tcmalloc_align
+
+
+allocators = [tcmalloc, tcmalloc_nofs, tcmalloc_align]