aboutsummaryrefslogtreecommitdiff
path: root/src/allocators
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-02-24 13:49:21 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-02-24 13:49:21 +0100
commitac8d5e925fdd2935087918660b24a6d7680b7b70 (patch)
tree367214ff5c328e5b603e75817a71655ff6c67a90 /src/allocators
parent11a75d564929e2d80a097e6c5484d004ea118904 (diff)
downloadallocbench-ac8d5e925fdd2935087918660b24a6d7680b7b70.tar.gz
allocbench-ac8d5e925fdd2935087918660b24a6d7680b7b70.zip
add allocator collection for the paper
Diffstat (limited to 'src/allocators')
-rw-r--r--src/allocators/paper.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/allocators/paper.py b/src/allocators/paper.py
new file mode 100644
index 0000000..71c81e2
--- /dev/null
+++ b/src/allocators/paper.py
@@ -0,0 +1,31 @@
+# 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 available allocators"""
+
+from src.allocators.glibc import glibc
+from src.allocators.tcmalloc import tcmalloc, tcmalloc_align, tcmalloc_gperftools, tcmalloc_gperftools_align
+from src.allocators.jemalloc import jemalloc
+from src.allocators.scalloc import scalloc
+from src.allocators.llalloc import llalloc
+from src.allocators.tbbmalloc import tbbmalloc
+from src.allocators.mimalloc import mimalloc
+from src.allocators.bumpptr import bumpptr
+from src.allocators.speedymalloc import speedymalloc
+
+
+allocators = [glibc, tcmalloc, tcmalloc_align, tcmalloc_gperftools, tcmalloc_gperftools_align, jemalloc, llalloc, mimalloc, bumpptr, speedymalloc]