aboutsummaryrefslogtreecommitdiff
path: root/src/allocators/bumpptr.py
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2019-08-11 19:10:49 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2019-08-11 19:10:49 +0200
commit070731ecd8a80c23b9745020a570ad385ea14aee (patch)
tree157a8fb824846575616022854d360afec85a745f /src/allocators/bumpptr.py
parent16ef25b5eda3a9fc51ecea309d2cb6b0508b009b (diff)
downloadallocbench-070731ecd8a80c23b9745020a570ad385ea14aee.tar.gz
allocbench-070731ecd8a80c23b9745020a570ad385ea14aee.zip
make bump pointer allocator available through src.allocators.bumpptr
Diffstat (limited to 'src/allocators/bumpptr.py')
-rw-r--r--src/allocators/bumpptr.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/allocators/bumpptr.py b/src/allocators/bumpptr.py
new file mode 100644
index 0000000..f95a884
--- /dev/null
+++ b/src/allocators/bumpptr.py
@@ -0,0 +1,4 @@
+import os
+from src.allocator import Allocator, builddir
+
+bumpptr = Allocator("bumpptr", LD_PRELOAD=os.path.join(builddir, "bumpptr_alloc.so"), color="xkcd:black")