From 868be152624d174e3c1997ff45d8c7acecb45d11 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 15 Apr 2020 13:22:16 +0200 Subject: implement wildcard search for allocator selection This makes most allocator collections, which only bundle all allocator variants from one allocator obsolete. They can be replaces with 'allocator*' on the command line. --- src/allocators/all.py | 45 --------------------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 src/allocators/all.py (limited to 'src/allocators/all.py') diff --git a/src/allocators/all.py b/src/allocators/all.py deleted file mode 100644 index ed8d01e..0000000 --- a/src/allocators/all.py +++ /dev/null @@ -1,45 +0,0 @@ -# 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 available allocators""" - -import src.allocators.glibcs -import src.allocators.tcmallocs -from src.allocators.jemalloc import jemalloc -from src.allocators.hoard import hoard -from src.allocators.mesh import mesh -from src.allocators.scalloc import scalloc -from src.allocators.supermalloc import supermalloc -from src.allocators.llalloc import llalloc -from src.allocators.tbbmalloc import tbbmalloc -from src.allocators.mimalloc import mimalloc -from src.allocators.snmalloc import snmalloc -from src.allocators.rpmalloc import rpmalloc - -allocators = [ - *src.allocators.glibcs.allocators, - *src.allocators.tcmallocs.allocators, - jemalloc, - hoard, - mesh, - supermalloc, - scalloc, - tbbmalloc, - llalloc, # streamflow, - mimalloc, - snmalloc, - rpmalloc -] -- cgit v1.2.3