aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2019-08-19 18:38:14 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2019-08-22 16:08:00 +0200
commitb5d28616aaa46586b429f620cb94a2ab05efe300 (patch)
treef4fc6a19f72208b66530457fc4af112e9a6c6f42
parent196fa608205bdbd4016200e47a55e9fb000f2b11 (diff)
downloadallocbench-b5d28616aaa46586b429f620cb94a2ab05efe300.tar.gz
allocbench-b5d28616aaa46586b429f620cb94a2ab05efe300.zip
add allocator definition for chattymalloc
-rw-r--r--src/allocators/chattymalloc.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/allocators/chattymalloc.py b/src/allocators/chattymalloc.py
new file mode 100644
index 0000000..3079667
--- /dev/null
+++ b/src/allocators/chattymalloc.py
@@ -0,0 +1,4 @@
+import os
+from src.allocator import Allocator, builddir
+
+chattymalloc = Allocator("chattymalloc", LD_PRELOAD=os.path.join(builddir, "chattymalloc.so"), color="xkcd:black")