From 76df14113bec8b496c75e4b0d98df6fc0ff8b51f Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 28 Aug 2019 10:23:01 +0200 Subject: add license header comments to benchmark definitions --- src/benchmarks/__init__.py | 17 +++++++++++++++++ src/benchmarks/cfrac.py | 17 +++++++++++++++++ src/benchmarks/dj_trace.py | 17 +++++++++++++++++ src/benchmarks/espresso.py | 17 +++++++++++++++++ src/benchmarks/falsesharing.py | 17 +++++++++++++++++ src/benchmarks/httpd.py | 17 +++++++++++++++++ src/benchmarks/larson.py | 17 +++++++++++++++++ src/benchmarks/lld.py | 17 +++++++++++++++++ src/benchmarks/loop.py | 17 +++++++++++++++++ src/benchmarks/mysql.py | 19 +++++++++++++++++++ src/benchmarks/realloc.py | 17 +++++++++++++++++ src/benchmarks/t_test1.py | 17 +++++++++++++++++ 12 files changed, 206 insertions(+) diff --git a/src/benchmarks/__init__.py b/src/benchmarks/__init__.py index 7117bb2..f7cc8d7 100644 --- a/src/benchmarks/__init__.py +++ b/src/benchmarks/__init__.py @@ -1 +1,18 @@ +# 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 . + """allocbench benchmark definitions""" diff --git a/src/benchmarks/cfrac.py b/src/benchmarks/cfrac.py index 85537a9..d2b5286 100644 --- a/src/benchmarks/cfrac.py +++ b/src/benchmarks/cfrac.py @@ -1,3 +1,20 @@ +# 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 . + """ Definition of the cfrac benchmark""" from src.benchmark import Benchmark diff --git a/src/benchmarks/dj_trace.py b/src/benchmarks/dj_trace.py index 8f3137f..155f3ec 100644 --- a/src/benchmarks/dj_trace.py +++ b/src/benchmarks/dj_trace.py @@ -1,3 +1,20 @@ +# 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 . + """Benchmark definition using the traces collected by DJ Delorie""" import os diff --git a/src/benchmarks/espresso.py b/src/benchmarks/espresso.py index 0916c6c..2e3d47a 100644 --- a/src/benchmarks/espresso.py +++ b/src/benchmarks/espresso.py @@ -1,3 +1,20 @@ +# 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 . + """Definition of the espresso benchmark""" import os diff --git a/src/benchmarks/falsesharing.py b/src/benchmarks/falsesharing.py index 046a362..80e8195 100644 --- a/src/benchmarks/falsesharing.py +++ b/src/benchmarks/falsesharing.py @@ -1,3 +1,20 @@ +# 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 . + """Definition of the falsesahring benchmark""" import re diff --git a/src/benchmarks/httpd.py b/src/benchmarks/httpd.py index d981233..22824f9 100644 --- a/src/benchmarks/httpd.py +++ b/src/benchmarks/httpd.py @@ -1,3 +1,20 @@ +# 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 . + """Definition of the httpd benchmark""" import re diff --git a/src/benchmarks/larson.py b/src/benchmarks/larson.py index 234f7b1..191697f 100644 --- a/src/benchmarks/larson.py +++ b/src/benchmarks/larson.py @@ -1,3 +1,20 @@ +# 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 . + """Definition of the larson benchmark""" import re diff --git a/src/benchmarks/lld.py b/src/benchmarks/lld.py index fb6d08f..d626214 100644 --- a/src/benchmarks/lld.py +++ b/src/benchmarks/lld.py @@ -1,3 +1,20 @@ +# 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 . + """Benchmark definition using the llvm-lld speed benchmark""" import os diff --git a/src/benchmarks/loop.py b/src/benchmarks/loop.py index a20924a..f805932 100644 --- a/src/benchmarks/loop.py +++ b/src/benchmarks/loop.py @@ -1,3 +1,20 @@ +# 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 . + """Definition of the loop micro benchmark""" from src.benchmark import Benchmark diff --git a/src/benchmarks/mysql.py b/src/benchmarks/mysql.py index 544d72a..cb55c21 100644 --- a/src/benchmarks/mysql.py +++ b/src/benchmarks/mysql.py @@ -1,3 +1,22 @@ +# 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 . + +"""Definition of the mysql read only benchmark using sysbench""" + import multiprocessing import os import re diff --git a/src/benchmarks/realloc.py b/src/benchmarks/realloc.py index c8eb955..ad31818 100644 --- a/src/benchmarks/realloc.py +++ b/src/benchmarks/realloc.py @@ -1,3 +1,20 @@ +# 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 . + """Definition of the realloc micro benchmark""" from src.benchmark import Benchmark diff --git a/src/benchmarks/t_test1.py b/src/benchmarks/t_test1.py index b22b21c..057c158 100644 --- a/src/benchmarks/t_test1.py +++ b/src/benchmarks/t_test1.py @@ -1,3 +1,20 @@ +# 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 . + """Definition of the commonly used t-test1 allocator test""" from src.benchmark import Benchmark -- cgit v1.2.3