From ae0680f8fdd4de34fc85bea869699535f7abf0b9 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 28 Aug 2019 11:31:08 +0200 Subject: improve code quality and add license headers to allocator definitions --- src/allocators/no_falsesharing.py | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) (limited to 'src/allocators/no_falsesharing.py') diff --git a/src/allocators/no_falsesharing.py b/src/allocators/no_falsesharing.py index 2514b7c..23726c4 100644 --- a/src/allocators/no_falsesharing.py +++ b/src/allocators/no_falsesharing.py @@ -1,5 +1,24 @@ +# 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. + +"""Collection containing all no falsesahring patches""" + from src.allocators.tcmalloc import tcmalloc, tcmalloc_nofs -from src.allocators.glibc import glibc, glibc_nofs +from src.allocators.glibc import glibc, glibc_nofs, glibc_nofs_fancy -allocators = [glibc, glibc_nofs, tcmalloc, tcmalloc_nofs] +allocators = [glibc, glibc_nofs, glibc_nofs_fancy, tcmalloc, tcmalloc_nofs] -- cgit v1.2.3