aboutsummaryrefslogtreecommitdiff
path: root/src/allocators/malt.py
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2019-08-28 11:31:08 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2019-08-28 11:31:08 +0200
commitae0680f8fdd4de34fc85bea869699535f7abf0b9 (patch)
tree0c42818d1ca1dd5095a17e6213b171675fd62737 /src/allocators/malt.py
parent76df14113bec8b496c75e4b0d98df6fc0ff8b51f (diff)
downloadallocbench-ae0680f8fdd4de34fc85bea869699535f7abf0b9.tar.gz
allocbench-ae0680f8fdd4de34fc85bea869699535f7abf0b9.zip
improve code quality and add license headers to allocator definitions
Diffstat (limited to 'src/allocators/malt.py')
-rw-r--r--src/allocators/malt.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/allocators/malt.py b/src/allocators/malt.py
index f10efd7..599e8ff 100644
--- a/src/allocators/malt.py
+++ b/src/allocators/malt.py
@@ -1,3 +1,26 @@
+# Copyright 2018-2019 Florian Fischer <florian.fl.fischer@fau.de>
+#
+# 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.
+
+"""malt allocator definition
+
+Malt is a malloc tracker and used to capture and analyse the allocation profile
+of a program. See https://github.com/memtt/malt for more details
+"""
+
from src.allocator import Allocator
# result_dir and perm are substituted during Benchmark.run