aboutsummaryrefslogtreecommitdiff
path: root/src/allocators/BA_allocators.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/allocators/BA_allocators.py')
-rw-r--r--src/allocators/BA_allocators.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/allocators/BA_allocators.py b/src/allocators/BA_allocators.py
new file mode 100644
index 0000000..5f4577e
--- /dev/null
+++ b/src/allocators/BA_allocators.py
@@ -0,0 +1,20 @@
+from src.allocators.glibc import Glibc
+from src.allocators.tcmalloc import TCMalloc
+from src.allocators.jemalloc import Jemalloc
+from src.allocators.hoard import Hoard
+
+glibc = Glibc("glibc", color="C1")
+
+glibc_notc = Glibc("glibc-notc",
+ configure_args="--disable-experimental-malloc",
+ color="C2")
+
+tcmalloc = TCMalloc("tcmalloc", color="C3")
+
+jemalloc = Jemalloc("jemalloc", color="C4")
+
+hoard = Hoard("Hoard", color="C5", patches=["allocators/hoard_make.patch"])
+
+allocators_to_build = [glibc, glibc_notc, tcmalloc, jemalloc, hoard]
+
+allocators = {a.name: a.build() for a in allocators_to_build}