From bbab5a629ae653899b9f613057916eaf95fc60f8 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sun, 10 Nov 2019 20:16:12 +0100 Subject: add bumpptr variations allocator definitions --- src/allocators/bumpptrs.py | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/allocators/bumpptrs.py (limited to 'src/allocators/bumpptrs.py') diff --git a/src/allocators/bumpptrs.py b/src/allocators/bumpptrs.py new file mode 100644 index 0000000..f6d5cc6 --- /dev/null +++ b/src/allocators/bumpptrs.py @@ -0,0 +1,23 @@ +# Copyright 2018-2019 Florian Fischer +# +# 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 . + +"""Collection containing all bumpptr variants""" + +from src.allocators.bumpptr import bumpptr, bumpptr_single_tsd, bumpptr_always_align + + +allocators = [bumpptr, bumpptr_single_tsd, bumpptr_always_align] -- cgit v1.2.3