diff --git a/examples/C-internalMarkerAPI.c b/examples/C-internalMarkerAPI.c index b252615e2..9672d4016 100644 --- a/examples/C-internalMarkerAPI.c +++ b/examples/C-internalMarkerAPI.c @@ -1,5 +1,5 @@ /* - * ========================================================================== + * ======================================================================================= * * Filename: C-internalMarkerAPI.c * @@ -27,7 +27,6 @@ * You should have received a copy of the GNU General Public License along * with this program. If not, see . * - * ========================================================================== * * Usage: * @@ -35,7 +34,6 @@ * `make C-internalMarkerAPI` to compile and * `make C-internalMarkerAPI-run` to run. * - * ========================================================================== */ #include diff --git a/examples/Makefile b/examples/Makefile index b9fe555ae..0dad8451b 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -1,3 +1,32 @@ +# ======================================================================================= +# +# Filename: Makefile +# +# Description: example Makefile +# +# Version: +# Released: +# +# Author: Jan Treibig (jt), jan.treibig@gmail.com +# Thomas Gruber (tr), thomas.roehl@googlemail.com +# +# Project: likwid +# +# Copyright (C) 2016 RRZE, University Erlangen-Nuremberg +# +# This program 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. +# +# This program 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 +# this program. If not, see . +# +# ======================================================================================= include ../config.mk include ../make/include_$(COMPILER).mk diff --git a/examples/monitoring.c b/examples/monitoring.c index ddddcb4c4..a7d911314 100644 --- a/examples/monitoring.c +++ b/examples/monitoring.c @@ -1,3 +1,33 @@ +/* + * ======================================================================================= + * + * Filename: monitoring.c + * + * Description: Example how to use the LIKWID API in C/C++ applications for monitoring + * + * Version: + * Released: + * + * Author: Thomas Gruber (tr), thomas.roehl@googlemail.com + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + #include #include #include diff --git a/ext/GOTCHA/Makefile b/ext/GOTCHA/Makefile index afc9ca750..f91924ce1 100644 --- a/ext/GOTCHA/Makefile +++ b/ext/GOTCHA/Makefile @@ -1,3 +1,31 @@ +# ======================================================================================= +# +# Filename: Makefile +# +# Description: GOTCHA Makefile +# +# Version: +# Released: +# +# Author: Thomas Gruber (tr), thomas.roehl@googlemail.com +# Project: likwid +# +# Copyright (C) 2015 RRZE, University Erlangen-Nuremberg +# +# This program 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. +# +# This program 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 +# this program. If not, see . +# +# ======================================================================================= + SRC_DIRS = ./src MAKE_DIR = ../../make diff --git a/kernel/Makefile b/kernel/Makefile index b9b814acc..720570b26 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -1,3 +1,31 @@ +# ======================================================================================= +# +# Filename: Makefile +# +# Description: Makefile for kernel module that enables RDPMC instruction in user-space +# +# Version: +# Released: +# +# Author: Thomas Gruber (tr), thomas.roehl@googlemail.com +# Project: likwid +# +# Copyright (C) 2015 RRZE, University Erlangen-Nuremberg +# +# This program 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. +# +# This program 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 +# this program. If not, see . +# +# ======================================================================================= + obj-m := enable_rdpmc.o KERNELDIR ?= /lib/modules/$(shell uname -r)/build PWD := $(shell pwd) diff --git a/perl/set_license.pl b/perl/set_license.pl index 029340a51..cf58c21b9 100755 --- a/perl/set_license.pl +++ b/perl/set_license.pl @@ -14,11 +14,11 @@ my $DATE = ''; #my $VERSION = '4.0'; #my $DATE = '16.6.2015'; -my $YEAR = '2015'; +my $YEAR = '2016'; my $AUTHOR = 'RRZE, University Erlangen-Nuremberg'; my $LICENSE = 'gpl'; -my @SKIPLIST = ('ghash.c','ghash.h','loadData.S','loadDataARM.S','bstrlib.c','bstrlib.h', 'calculator_stack.h', 'calculator_stack.c'); +my @SKIPLIST = ('ghash.c','ghash.h','loadData.S','loadDataARM.S','bstrlib.c','bstrlib.h', 'calculator_stack.h', 'calculator_stack.c', 'voltage.c', 'voltage.h', 'likwid-benchmark.sh', 'calculator.c', 'calculator.h'); sub print_copyright { diff --git a/src/access-daemon/Makefile b/src/access-daemon/Makefile index 7efa459c9..5d6f96da4 100644 --- a/src/access-daemon/Makefile +++ b/src/access-daemon/Makefile @@ -7,7 +7,8 @@ # Version: # Released: # -# Author: Jan Treibig (jt), jan.treibig@gmail.com +# Author: Jan Treibig (jt), jan.treibig@gmail.com +# Thomas Gruber (tr), thomas.roehl@googlemail.com # Project: likwid # # Copyright (C) 2016 RRZE, University Erlangen-Nuremberg diff --git a/src/access-daemon/appDaemon.c b/src/access-daemon/appDaemon.c index 592337e83..5f0f63147 100644 --- a/src/access-daemon/appDaemon.c +++ b/src/access-daemon/appDaemon.c @@ -9,7 +9,7 @@ * Version: * Released: * - * Author: Thoams Roehl (tr), thomas.roehl@gmail.com + * Author: Thomas Gruber (tr), thomas.roehl@googlemail.com * Project: likwid * * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg diff --git a/src/access_x86_mmio.c b/src/access_x86_mmio.c old mode 100755 new mode 100644 index b2d704a08..a6a780151 --- a/src/access_x86_mmio.c +++ b/src/access_x86_mmio.c @@ -8,14 +8,14 @@ * performance monitoring registers in PCI Cfg space * for Intel Sandy Bridge Processors. * - * Version: 4.3.1 - * Released: 04.01.2018 + * Version: + * Released: * * Author: Jan Treibig (jt), jan.treibig@gmail.com, * Thomas Gruber (tr), thomas.roehl@googlemail.com * Project: likwid * - * Copyright (C) 2018 RRZE, University Erlangen-Nuremberg + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg * * This program 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 diff --git a/src/access_x86_msr.c b/src/access_x86_msr.c index d023b1082..9cab93b6e 100644 --- a/src/access_x86_msr.c +++ b/src/access_x86_msr.c @@ -9,14 +9,14 @@ * sys interface of the Linux 2.6 kernel. This module * is based on the msr-util tools. * - * Version: 5.2.2 - * Released: 26.07.2022 + * Version: + * Released: * * Author: Jan Treibig (jt), jan.treibig@gmail.com. * Thomas Gruber (tr), thomas.roehl@googlemail.com * Project: likwid * - * Copyright (C) 2022 NHR@FAU, University Erlangen-Nuremberg + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg * * This program 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 diff --git a/src/access_x86_translate.c b/src/access_x86_translate.c index c4b3a6fcf..9d35534d0 100644 --- a/src/access_x86_translate.c +++ b/src/access_x86_translate.c @@ -1,7 +1,7 @@ /* * ======================================================================================= * - * Filename: access_x86.c + * Filename: access_x86_translate.c * * Description: Interface to x86 related functions for the access module. * diff --git a/src/applications/likwid-perfctr.lua b/src/applications/likwid-perfctr.lua index 935882ecf..f5694d667 100644 --- a/src/applications/likwid-perfctr.lua +++ b/src/applications/likwid-perfctr.lua @@ -7,8 +7,8 @@ * Description: An application to read out performance counter registers * on x86 processors * - * Version: 4.2 - * Released: 22.12.2016 + * Version: + * Released: * * Author: Thomas Gruber (tr), thomas.roehl@googlemail.com * Project: likwid diff --git a/src/applications/likwid-sysfeatures.lua b/src/applications/likwid-sysfeatures.lua index ac4eab752..46df20d6d 100644 --- a/src/applications/likwid-sysfeatures.lua +++ b/src/applications/likwid-sysfeatures.lua @@ -2,12 +2,12 @@ --[[ * ======================================================================================= * - * Filename: likwid-features.lua + * Filename: likwid-sysfeatures.lua * * Description: A application to retrieve and manipulate CPU features. * - * Version: 4.0 - * Released: 28.04.2015 + * Version: + * Released: * * Author: Thomas Gruber (tr), thomas.roehl@gmail.com * Project: likwid diff --git a/src/devstring.c b/src/devstring.c index 4ca8590a1..5e928d33b 100644 --- a/src/devstring.c +++ b/src/devstring.c @@ -1,3 +1,33 @@ +/* + * ======================================================================================= + * + * Filename: devstring.c + * + * Description: Code to resolve a LIKWID device string to a list of devices + * + * Version: + * Released: + * + * Author: Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + #include #include diff --git a/src/includes/access_sysfs_client.h b/src/includes/access_sysfs_client.h index 9210d80d1..69be9af03 100644 --- a/src/includes/access_sysfs_client.h +++ b/src/includes/access_sysfs_client.h @@ -1,9 +1,9 @@ /* * ======================================================================================= * - * Filename: frequency_client.h + * Filename: access_sysfs_client.h * - * Description: Header File frequency module, the interface to the frequency daemon + * Description: Header File sysFeatures module, the interface to the sysfs daemon * * Version: * Released: diff --git a/src/includes/access_x86_mmio.h b/src/includes/access_x86_mmio.h old mode 100755 new mode 100644 diff --git a/src/includes/access_x86_translate.h b/src/includes/access_x86_translate.h index 76c6554c5..434828380 100644 --- a/src/includes/access_x86_translate.h +++ b/src/includes/access_x86_translate.h @@ -1,3 +1,33 @@ +/* + * ======================================================================================= + * + * Filename: access_x86_translate.h + * + * Description: Interface to x86 related functions for the access module. + * + * Version: + * Released: + * + * Author: Thomas Gruber (tr), thomas.roehl@googlemail.com + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + #ifndef ACCESS_X86_TRANSLATE_H #define ACCESS_X86_TRANSLATE_H diff --git a/src/includes/amd_hsmp.h b/src/includes/amd_hsmp.h index 2041578f6..5c6d78ade 100644 --- a/src/includes/amd_hsmp.h +++ b/src/includes/amd_hsmp.h @@ -1,4 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * ======================================================================================= #ifndef _UAPI_ASM_X86_AMD_HSMP_H_ #define _UAPI_ASM_X86_AMD_HSMP_H_ diff --git a/src/includes/calculator.h b/src/includes/calculator.h index c52478f71..92d2a01b1 100644 --- a/src/includes/calculator.h +++ b/src/includes/calculator.h @@ -5,8 +5,8 @@ * * Description: Header file for infix calculator * - * Version: 4.2 - * Released: 22.12.2016 + * Version: + * Released: * * Author: Jan Treibig (jt), jan.treibig@gmail.com * Thomas Gruber (tr), thomas.roehl@gmail.com diff --git a/src/includes/devstring.h b/src/includes/devstring.h index 052e21747..8197a1892 100644 --- a/src/includes/devstring.h +++ b/src/includes/devstring.h @@ -1,3 +1,33 @@ +/* + * ======================================================================================= + * + * Filename: devstring.h + * + * Description: Header File to resolve a LIKWID device string to a list of devices + * + * Version: + * Released: + * + * Author: Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + #ifndef DEVSTRING_H #define DEVSTRING_H diff --git a/src/includes/intel_perfmon_uncore_discovery.h b/src/includes/intel_perfmon_uncore_discovery.h index 2205bec0a..4e16378f3 100644 --- a/src/includes/intel_perfmon_uncore_discovery.h +++ b/src/includes/intel_perfmon_uncore_discovery.h @@ -1,3 +1,33 @@ +/* + * ======================================================================================= + * + * Filename: intel_perfmon_uncore_discovery.h + * + * Description: Code to look up Uncore perfmon units on Intel SPR and later. + * + * Version: + * Released: + * + * Author: Thomas Gruber (tr), thomas.roehl@googlemail.com + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + #ifndef INTEL_PERFMON_UNCORE_DISCOVERY_H #define INTEL_PERFMON_UNCORE_DISCOVERY_H diff --git a/src/includes/likwid.h b/src/includes/likwid.h index 00bd4a393..d787b858f 100644 --- a/src/includes/likwid.h +++ b/src/includes/likwid.h @@ -14,18 +14,17 @@ * * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg * - * This program 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. + * This program 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. * - * This program 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. + * This program 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 this program. If not, see . + * You should have received a copy of the GNU General Public License along with + * this program. If not, see . * * ======================================================================================= */ diff --git a/src/includes/likwid_device.h b/src/includes/likwid_device.h index b39f8c209..f09d2536a 100644 --- a/src/includes/likwid_device.h +++ b/src/includes/likwid_device.h @@ -1,3 +1,34 @@ +/* + * ======================================================================================= + * + * Filename: likwid_device.h + * + * Description: Interface for LIKWID's device handling + * + * Version: + * Released: + * + * Authors: Thomas Gruber (tg), thomas.roehl@googlemail.com + * Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + #ifndef LIKWID_DEVICE_H #define LIKWID_DEVICE_H diff --git a/src/includes/nvmon_perfworks.h b/src/includes/nvmon_perfworks.h index eec400ae5..ff7a3e6b7 100644 --- a/src/includes/nvmon_perfworks.h +++ b/src/includes/nvmon_perfworks.h @@ -9,22 +9,22 @@ * Released: * * Author: Thomas Gruber (tg), thomas.gruber@googlemail.com + * Michael Panzlaff, michael.panzlaff@fau.de * Project: likwid * - * Copyright (C) 2019 RRZE, University Erlangen-Nuremberg + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg * - * This program 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. + * This program 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. * - * This program 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. + * This program 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 this program. If not, see . + * You should have received a copy of the GNU General Public License along with + * this program. If not, see . * * ======================================================================================= */ diff --git a/src/includes/perfmon_sapphirerapids_events.txt b/src/includes/perfmon_sapphirerapids_events.txt index c73530568..c4e38ed54 100644 --- a/src/includes/perfmon_sapphirerapids_events.txt +++ b/src/includes/perfmon_sapphirerapids_events.txt @@ -1,6 +1,6 @@ # ======================================================================================= # -# Filename: perfmon_icelakeX_events.txt +# Filename: perfmon_sapphirerapids_events.txt # # Description: Event list for Intel Sapphire Rapids # @@ -10,7 +10,7 @@ # Author: Thomas Gruber (tr), thomas.roehl@googlemail.com # Project: likwid # -# Copyright (C) 2015 RRZE, University Erlangen-Nuremberg +# Copyright (C) 2016 RRZE, University Erlangen-Nuremberg # # This program 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 diff --git a/src/includes/perfmon_zen4c_events.txt b/src/includes/perfmon_zen4c_events.txt index 4a356ecc2..0048db97a 100644 --- a/src/includes/perfmon_zen4c_events.txt +++ b/src/includes/perfmon_zen4c_events.txt @@ -1,8 +1,8 @@ # ======================================================================================= # -# Filename: perfmon_zen4bergamo_events.txt +# Filename: perfmon_zen4c_events.txt # -# Description: Event list for AMD Zen (Gen4, Bergamo) +# Description: Event list for AMD Zen4c (Bergamo) # # Version: # Released: @@ -10,7 +10,7 @@ # Author: Thomas Gruber (tr), thomas.roehl@googlemail.com # Project: likwid # -# Copyright (C) 2017 RRZE, University Erlangen-Nuremberg +# Copyright (C) 2016 RRZE, University Erlangen-Nuremberg # # This program 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 diff --git a/src/includes/rocmon_types.h b/src/includes/rocmon_types.h index 7af2e1518..323ddc0f9 100644 --- a/src/includes/rocmon_types.h +++ b/src/includes/rocmon_types.h @@ -1,19 +1,20 @@ /* * ======================================================================================= * - * Filename: nvmon_types.h + * Filename: rocmon_types.h * - * Description: Header File of nvmon module. + * Description: Header File of rocmon module. * Configures and reads out performance counters - * on NVIDIA GPUs. Supports multi GPUs. + * on AMD GPUs. Supports multi GPUs. * * Version: * Released: * * Author: Thomas Gruber (tg), thomas.gruber@googlemail.com + * Various people at HPE * Project: likwid * - * Copyright (C) 2019 RRZE, University Erlangen-Nuremberg + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg * * This program 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 diff --git a/src/includes/sysFeatures.h b/src/includes/sysFeatures.h index feea190b0..37e4e1f90 100644 --- a/src/includes/sysFeatures.h +++ b/src/includes/sysFeatures.h @@ -1,3 +1,35 @@ +/* + * ======================================================================================= + * + * Filename: sysFeatures.h + * + * Description: Main interface to the sysFeatures component to get and set + * hardware and OS features + * + * Version: + * Released: + * + * Authors: Thomas Gruber (tg), thomas.roehl@googlemail.com + * Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + #ifndef HWFEATURES_H #define HWFEATURES_H diff --git a/src/includes/sysFeatures_amd.h b/src/includes/sysFeatures_amd.h index 6dcdc83cf..2219f2434 100644 --- a/src/includes/sysFeatures_amd.h +++ b/src/includes/sysFeatures_amd.h @@ -1,3 +1,34 @@ +/* + * ======================================================================================= + * + * Filename: sysFeatures_amd.h + * + * Description: AMD interface of the sysFeatures component + * + * Version: + * Released: + * + * Authors: Thomas Gruber (tg), thomas.roehl@googlemail.com + * Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + #ifndef HWFEATURES_X86_AMD_H #define HWFEATURES_X86_AMD_H diff --git a/src/includes/sysFeatures_amd_hsmp.h b/src/includes/sysFeatures_amd_hsmp.h index 87dce2699..c1e3b2113 100644 --- a/src/includes/sysFeatures_amd_hsmp.h +++ b/src/includes/sysFeatures_amd_hsmp.h @@ -1,3 +1,33 @@ +/* + * ======================================================================================= + * + * Filename: sysFeatures_amd_hsmp.h + * + * Description: AMD HSMP interface of the sysFeatures component + * + * Version: + * Released: + * + * Authors: Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + #ifndef SYSFEATURES_AMD_HSMP_H #define SYSFEATURES_AMD_HSMP_H diff --git a/src/includes/sysFeatures_amd_rapl.h b/src/includes/sysFeatures_amd_rapl.h index 3724f77c0..db6bf67cf 100644 --- a/src/includes/sysFeatures_amd_rapl.h +++ b/src/includes/sysFeatures_amd_rapl.h @@ -1,3 +1,34 @@ +/* + * ======================================================================================= + * + * Filename: sysFeatures_amd_rapl.h + * + * Description: Interface to control AMD RAPL for the sysFeatures component + * + * Version: + * Released: + * + * Authors: Thomas Gruber (tg), thomas.roehl@googlemail.com + * Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + #ifndef HWFEATURES_X86_AMD_RAPL_H #define HWFEATURES_X86_AMD_RAPL_H diff --git a/src/includes/sysFeatures_common.h b/src/includes/sysFeatures_common.h index dd2099414..7dd83208b 100644 --- a/src/includes/sysFeatures_common.h +++ b/src/includes/sysFeatures_common.h @@ -1,3 +1,34 @@ +/* + * ======================================================================================= + * + * Filename: sysFeatures_common.h + * + * Description: Common functions used by the sysFeatures component + * + * Version: + * Released: + * + * Authors: Thomas Gruber (tg), thomas.roehl@googlemail.com + * Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + #ifndef HWFEATURES_COMMON_H #define HWFEATURES_COMMON_H diff --git a/src/includes/sysFeatures_common_rapl.h b/src/includes/sysFeatures_common_rapl.h index acb1caefb..ae3f1e370 100644 --- a/src/includes/sysFeatures_common_rapl.h +++ b/src/includes/sysFeatures_common_rapl.h @@ -1,3 +1,33 @@ +/* + * ======================================================================================= + * + * Filename: sysFeatures_common_rapl.h + * + * Description: Common functions used by the sysFeatures RAPL component + * + * Version: + * Released: + * + * Authors: Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + #ifndef HWFEATURES_COMMON_RAPL_H #define HWFEATURES_COMMON_RAPL_H diff --git a/src/includes/sysFeatures_cpufreq.h b/src/includes/sysFeatures_cpufreq.h index c64b344d3..750ea8b7d 100644 --- a/src/includes/sysFeatures_cpufreq.h +++ b/src/includes/sysFeatures_cpufreq.h @@ -1,3 +1,34 @@ +/* + * ======================================================================================= + * + * Filename: sysFeatures_cpufreq.h + * + * Description: Interface to control frequencies for the sysFeatures component + * + * Version: + * Released: + * + * Authors: Thomas Gruber (tg), thomas.roehl@googlemail.com + * Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + #ifndef HWFEATURES_CPUFREQ_H #define HWFEATURES_CPUFREQ_H diff --git a/src/includes/sysFeatures_intel.h b/src/includes/sysFeatures_intel.h index 3b31f7b82..72ef3f343 100644 --- a/src/includes/sysFeatures_intel.h +++ b/src/includes/sysFeatures_intel.h @@ -1,3 +1,34 @@ +/* + * ======================================================================================= + * + * Filename: sysFeatures_intel.h + * + * Description: Intel interface of the sysFeatures component + * + * Version: + * Released: + * + * Authors: Thomas Gruber (tg), thomas.roehl@googlemail.com + * Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + #ifndef HWFEATURES_X86_INTEL_H #define HWFEATURES_X86_INTEL_H diff --git a/src/includes/sysFeatures_intel_prefetcher.h b/src/includes/sysFeatures_intel_prefetcher.h index f41c8a245..143338d20 100644 --- a/src/includes/sysFeatures_intel_prefetcher.h +++ b/src/includes/sysFeatures_intel_prefetcher.h @@ -1,3 +1,34 @@ +/* + * ======================================================================================= + * + * Filename: sysFeatures_intel_prefetcher.h + * + * Description: Interface to control CPU prefetchers for the sysFeatures component + * + * Version: + * Released: + * + * Authors: Thomas Gruber (tg), thomas.roehl@googlemail.com + * Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + #ifndef HWFEATURES_X86_INTEL_PREFETCHER_H #define HWFEATURES_X86_INTEL_PREFETCHER_H diff --git a/src/includes/sysFeatures_intel_rapl.h b/src/includes/sysFeatures_intel_rapl.h index 51eaec2c1..caf70a666 100644 --- a/src/includes/sysFeatures_intel_rapl.h +++ b/src/includes/sysFeatures_intel_rapl.h @@ -1,3 +1,34 @@ +/* + * ======================================================================================= + * + * Filename: sysFeatures_intel_rapl.h + * + * Description: Interface to control Intel RAPL for the sysFeatures component + * + * Version: + * Released: + * + * Authors: Thomas Gruber (tg), thomas.roehl@googlemail.com + * Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + #ifndef HWFEATURES_X86_INTEL_RAPL_H #define HWFEATURES_X86_INTEL_RAPL_H diff --git a/src/includes/sysFeatures_intel_spec_ctrl.h b/src/includes/sysFeatures_intel_spec_ctrl.h index 427c533ec..3f4297fe3 100644 --- a/src/includes/sysFeatures_intel_spec_ctrl.h +++ b/src/includes/sysFeatures_intel_spec_ctrl.h @@ -1,3 +1,36 @@ +/* + * ======================================================================================= + * + * Filename: sysFeatures_intel_spec_ctrl.h + * + * Description: Interface to control CPU speculative execution behavior for the + * sysFeatures component + * + * Version: + * Released: + * + * Authors: Thomas Gruber (tg), thomas.roehl@googlemail.com + * Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + + #ifndef HWFEATURES_X86_INTEL_SPEC_CTRL_H #define HWFEATURES_X86_INTEL_SPEC_CTRL_H diff --git a/src/includes/sysFeatures_intel_turbo.h b/src/includes/sysFeatures_intel_turbo.h index 31e86140d..65c6914e5 100644 --- a/src/includes/sysFeatures_intel_turbo.h +++ b/src/includes/sysFeatures_intel_turbo.h @@ -1,3 +1,35 @@ +/* + * ======================================================================================= + * + * Filename: sysFeatures_intel_turbo.h + * + * Description: Interface to control Intel CPU turbo mode for the sysFeatures component + * + * Version: + * Released: + * + * Authors: Thomas Gruber (tg), thomas.roehl@googlemail.com + * Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + + #ifndef HWFEATURES_X86_INTEL_TURBO_H #define HWFEATURES_X86_INTEL_TURBO_H diff --git a/src/includes/sysFeatures_intel_uncorefreq.h b/src/includes/sysFeatures_intel_uncorefreq.h index 13ecb6464..23de2f6c5 100644 --- a/src/includes/sysFeatures_intel_uncorefreq.h +++ b/src/includes/sysFeatures_intel_uncorefreq.h @@ -1,3 +1,34 @@ +/* + * ======================================================================================= + * + * Filename: sysFeatures_intel_uncorefreq.h + * + * Description: Interface to control Intel Uncore frequency for the sysFeatures component + * + * Version: + * Released: + * + * Authors: Thomas Gruber (tg), thomas.roehl@googlemail.com + * Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + #ifndef HWFEATURES_X86_INTEL_UNCOREFREQ_H #define HWFEATURES_X86_INTEL_UNCOREFREQ_H diff --git a/src/includes/sysFeatures_linux_numa_balancing.h b/src/includes/sysFeatures_linux_numa_balancing.h index 09504a28f..462498eb1 100644 --- a/src/includes/sysFeatures_linux_numa_balancing.h +++ b/src/includes/sysFeatures_linux_numa_balancing.h @@ -1,3 +1,35 @@ +/* + * ======================================================================================= + * + * Filename: sysFeatures_linux_numa_balancing.h + * + * Description: Interface to control NUMA balancing settings for the sysFeatures + * component + * + * Version: + * Released: + * + * Authors: Thomas Gruber (tg), thomas.roehl@googlemail.com + * Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + #ifndef HWFEATURES_NUMABALANCING_H #define HWFEATURES_NUMABALANCING_H diff --git a/src/includes/sysFeatures_list.h b/src/includes/sysFeatures_list.h index a79f52d82..22d56e5ac 100644 --- a/src/includes/sysFeatures_list.h +++ b/src/includes/sysFeatures_list.h @@ -1,3 +1,35 @@ +/* + * ======================================================================================= + * + * Filename: sysFeatures_list.h + * + * Description: Management functions for list of sysFeatures + * + * Version: + * Released: + * + * Authors: Thomas Gruber (tg), thomas.roehl@googlemail.com + * Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + + #ifndef HWFEATURES_LIST_H #define HWFEATURES_LIST_H diff --git a/src/includes/sysFeatures_nvml.h b/src/includes/sysFeatures_nvml.h index 6391a14e2..f4b01c033 100644 --- a/src/includes/sysFeatures_nvml.h +++ b/src/includes/sysFeatures_nvml.h @@ -1,3 +1,33 @@ +/* + * ======================================================================================= + * + * Filename: sysFeatures_nvml.h + * + * Description: Interface to control various Nvidia NVML based features + * + * Version: + * Released: + * + * Authors: Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + #ifndef SYSFEATURES_NVML_H #define SYSFEATURES_NVML_H diff --git a/src/includes/sysFeatures_types.h b/src/includes/sysFeatures_types.h index 9480b7eab..5dda5bd94 100644 --- a/src/includes/sysFeatures_types.h +++ b/src/includes/sysFeatures_types.h @@ -1,3 +1,35 @@ +/* + * ======================================================================================= + * + * Filename: sysFeatures_types.h + * + * Description: Internal types of the sysFeatures component + * + * Version: + * Released: + * + * Authors: Thomas Gruber (tg), thomas.roehl@googlemail.com + * Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + + #ifndef HWFEATURES_TYPES_H #define HWFEATURES_TYPES_H diff --git a/src/intel_perfmon_uncore_discovery.c b/src/intel_perfmon_uncore_discovery.c index 4db9eb9a0..761f6f1f9 100644 --- a/src/intel_perfmon_uncore_discovery.c +++ b/src/intel_perfmon_uncore_discovery.c @@ -1,3 +1,34 @@ +/* + * ======================================================================================= + * + * Filename: intel_perfmon_uncore_discovery.c + * + * Description: Code to look up Uncore perfmon units on Intel SPR and later. + * + * Version: + * Released: + * + * Author: Thomas Gruber (tr), thomas.roehl@googlemail.com + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + + #include #include #include diff --git a/src/libnvctr.c b/src/libnvctr.c index 5e1892611..9ff614a14 100644 --- a/src/libnvctr.c +++ b/src/libnvctr.c @@ -13,18 +13,17 @@ * * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg * - * This program 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. + * This program 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. * - * This program 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. + * This program 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 this program. If not, see . + * You should have received a copy of the GNU General Public License along with + * this program. If not, see . * * ======================================================================================= */ diff --git a/src/likwid_device.c b/src/likwid_device.c index e8d8005bd..6830815f5 100644 --- a/src/likwid_device.c +++ b/src/likwid_device.c @@ -1,3 +1,34 @@ +/* + * ======================================================================================= + * + * Filename: likwid_device.c + * + * Description: Interface for LIKWID's device handling + * + * Version: + * Released: + * + * Authors: Thomas Gruber (tg), thomas.roehl@googlemail.com + * Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + #include #include #include diff --git a/src/luawid.c b/src/luawid.c index a5b0988bf..58d28a1f5 100644 --- a/src/luawid.c +++ b/src/luawid.c @@ -13,18 +13,17 @@ * * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg * - * This program 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. + * This program 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. * - * This program 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. + * This program 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 this program. If not, see . + * You should have received a copy of the GNU General Public License along with + * this program. If not, see . * * ======================================================================================= */ diff --git a/src/map.c b/src/map.c index ebcaa1239..1c9637c97 100644 --- a/src/map.c +++ b/src/map.c @@ -8,7 +8,7 @@ * Version: * Released: * - * Author: Thoams Roehl (tr), thomas.roehl@gmail.com + * Author: Thomas Gruber (tr), thomas.roehl@googlemail.com * Project: likwid * * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg diff --git a/src/meta.c b/src/meta.c index 31db62afa..5f9fd3645 100644 --- a/src/meta.c +++ b/src/meta.c @@ -1,3 +1,33 @@ +/* + * ======================================================================================= + * + * Filename: meta.c + * + * Description: Get information what is supported by the library + * + * Version: + * Released: + * + * Author: Thomas Gruber (tr), thomas.roehl@googlemail.com + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + #include #include diff --git a/src/rocmon.c b/src/rocmon.c index ba7bdf85b..51fe1e5c7 100644 --- a/src/rocmon.c +++ b/src/rocmon.c @@ -1,4 +1,5 @@ - /* ======================================================================================= +/* + * ======================================================================================= * * Filename: rocmon.c * diff --git a/src/rocmon_marker.c b/src/rocmon_marker.c index 68337239d..34e07aca6 100644 --- a/src/rocmon_marker.c +++ b/src/rocmon_marker.c @@ -1,7 +1,7 @@ /* * ======================================================================================= * - * Filename: libnvctr.c + * Filename: rocmon_marker.c * * Description: Marker API interface of module rocmon * diff --git a/src/sysFeatures.c b/src/sysFeatures.c index 5e0b327d4..3dae27b7c 100644 --- a/src/sysFeatures.c +++ b/src/sysFeatures.c @@ -1,3 +1,35 @@ +/* + * ======================================================================================= + * + * Filename: sysFeatures.c + * + * Description: Main interface to the sysFeatures component to get and set + * hardware and OS features + * + * Version: + * Released: + * + * Authors: Thomas Gruber (tg), thomas.roehl@googlemail.com + * Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + #include #include #include diff --git a/src/sysFeatures_amd.c b/src/sysFeatures_amd.c index 1e3b6b6dc..2089be987 100644 --- a/src/sysFeatures_amd.c +++ b/src/sysFeatures_amd.c @@ -1,3 +1,33 @@ +/* + * ======================================================================================= + * + * Filename: sysFeatures_amd.c + * + * Description: AMD interface of the sysFeatures component + * + * Version: + * Released: + * + * Authors: Thomas Gruber (tg), thomas.roehl@googlemail.com + * Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ #include #include diff --git a/src/sysFeatures_amd_hsmp.c b/src/sysFeatures_amd_hsmp.c index 526c2a441..c7115c698 100644 --- a/src/sysFeatures_amd_hsmp.c +++ b/src/sysFeatures_amd_hsmp.c @@ -1,3 +1,32 @@ +/* + * ======================================================================================= + * + * Filename: sysFeatures_amd_hsmp.c + * + * Description: AMD HSMP interface of the sysFeatures component + * + * Version: + * Released: + * + * Authors: Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ #include #include diff --git a/src/sysFeatures_amd_rapl.c b/src/sysFeatures_amd_rapl.c index a92e737b1..408c140cc 100644 --- a/src/sysFeatures_amd_rapl.c +++ b/src/sysFeatures_amd_rapl.c @@ -1,3 +1,34 @@ +/* + * ======================================================================================= + * + * Filename: sysFeatures_amd_rapl.c + * + * Description: Interface to control AMD RAPL for the sysFeatures component + * + * Version: + * Released: + * + * Authors: Thomas Gruber (tg), thomas.roehl@googlemail.com + * Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + #include #include #include diff --git a/src/sysFeatures_common.c b/src/sysFeatures_common.c index a414d1fd7..227bfafab 100644 --- a/src/sysFeatures_common.c +++ b/src/sysFeatures_common.c @@ -1,3 +1,34 @@ +/* + * ======================================================================================= + * + * Filename: sysFeatures_common.c + * + * Description: Common functions used by the sysFeatures component + * + * Version: + * Released: + * + * Authors: Thomas Gruber (tg), thomas.roehl@googlemail.com + * Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + #include #include #include diff --git a/src/sysFeatures_cpufreq.c b/src/sysFeatures_cpufreq.c index cd8069704..e70e4c3f6 100644 --- a/src/sysFeatures_cpufreq.c +++ b/src/sysFeatures_cpufreq.c @@ -1,3 +1,34 @@ +/* + * ======================================================================================= + * + * Filename: sysFeatures_cpufreq.c + * + * Description: Interface to control frequencies for the sysFeatures component + * + * Version: + * Released: + * + * Authors: Thomas Gruber (tg), thomas.roehl@googlemail.com + * Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + #include #include #include diff --git a/src/sysFeatures_intel.c b/src/sysFeatures_intel.c index 59e15bbbd..1d8165874 100644 --- a/src/sysFeatures_intel.c +++ b/src/sysFeatures_intel.c @@ -1,3 +1,34 @@ +/* + * ======================================================================================= + * + * Filename: sysFeatures_intel.c + * + * Description: Intel interface of the sysFeatures component + * + * Version: + * Released: + * + * Authors: Thomas Gruber (tg), thomas.roehl@googlemail.com + * Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + #include #include #include diff --git a/src/sysFeatures_intel_prefetcher.c b/src/sysFeatures_intel_prefetcher.c index a62e6aaf1..74ba30db7 100644 --- a/src/sysFeatures_intel_prefetcher.c +++ b/src/sysFeatures_intel_prefetcher.c @@ -1,3 +1,34 @@ +/* + * ======================================================================================= + * + * Filename: sysFeatures_intel_prefetcher.c + * + * Description: Interface to control CPU prefetchers for the sysFeatures component + * + * Version: + * Released: + * + * Authors: Thomas Gruber (tg), thomas.roehl@googlemail.com + * Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + #include #include #include diff --git a/src/sysFeatures_intel_rapl.c b/src/sysFeatures_intel_rapl.c index 3aad39486..2a3f00226 100644 --- a/src/sysFeatures_intel_rapl.c +++ b/src/sysFeatures_intel_rapl.c @@ -1,3 +1,34 @@ +/* + * ======================================================================================= + * + * Filename: sysFeatures_intel_rapl.c + * + * Description: Interface to control Intel RAPL for the sysFeatures component + * + * Version: + * Released: + * + * Authors: Thomas Gruber (tg), thomas.roehl@googlemail.com + * Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + #include #include #include diff --git a/src/sysFeatures_intel_spec_ctrl.c b/src/sysFeatures_intel_spec_ctrl.c index f86e2a7d6..6414efb87 100644 --- a/src/sysFeatures_intel_spec_ctrl.c +++ b/src/sysFeatures_intel_spec_ctrl.c @@ -1,3 +1,35 @@ +/* + * ======================================================================================= + * + * Filename: sysFeatures_intel_spec_ctrl.c + * + * Description: Interface to control CPU speculative execution behavior for the + * sysFeatures component + * + * Version: + * Released: + * + * Authors: Thomas Gruber (tg), thomas.roehl@googlemail.com + * Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + #include #include #include diff --git a/src/sysFeatures_intel_turbo.c b/src/sysFeatures_intel_turbo.c index ae1b96778..87c353be8 100644 --- a/src/sysFeatures_intel_turbo.c +++ b/src/sysFeatures_intel_turbo.c @@ -1,3 +1,34 @@ +/* + * ======================================================================================= + * + * Filename: sysFeatures_intel_turbo.c + * + * Description: Interface to control Intel CPU turbo mode for the sysFeatures component + * + * Version: + * Released: + * + * Authors: Thomas Gruber (tg), thomas.roehl@googlemail.com + * Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + #include #include diff --git a/src/sysFeatures_intel_uncorefreq.c b/src/sysFeatures_intel_uncorefreq.c index a614f2ba8..cb1ab3913 100644 --- a/src/sysFeatures_intel_uncorefreq.c +++ b/src/sysFeatures_intel_uncorefreq.c @@ -1,3 +1,34 @@ +/* + * ======================================================================================= + * + * Filename: sysFeatures_intel_uncorefreq.c + * + * Description: Interface to control Intel Uncore frequency for the sysFeatures component + * + * Version: + * Released: + * + * Authors: Thomas Gruber (tg), thomas.roehl@googlemail.com + * Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + #include #include #include diff --git a/src/sysFeatures_linux_numa_balancing.c b/src/sysFeatures_linux_numa_balancing.c index 4401ed6ed..665f8061a 100644 --- a/src/sysFeatures_linux_numa_balancing.c +++ b/src/sysFeatures_linux_numa_balancing.c @@ -1,3 +1,35 @@ +/* + * ======================================================================================= + * + * Filename: sysFeatures_linux_numa_balancing.c + * + * Description: Interface to control NUMA balancing settings for the sysFeatures + * component + * + * Version: + * Released: + * + * Authors: Thomas Gruber (tg), thomas.roehl@googlemail.com + * Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + #include #include #include diff --git a/src/sysFeatures_list.c b/src/sysFeatures_list.c index e67f006ae..148050edb 100644 --- a/src/sysFeatures_list.c +++ b/src/sysFeatures_list.c @@ -1,3 +1,34 @@ +/* + * ======================================================================================= + * + * Filename: sysFeatures_list.c + * + * Description: Management functions for list of sysFeatures + * + * Version: + * Released: + * + * Authors: Thomas Gruber (tg), thomas.roehl@googlemail.com + * Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + #include #include diff --git a/src/sysFeatures_nvml.c b/src/sysFeatures_nvml.c index 421c541eb..f9e9d6a0e 100644 --- a/src/sysFeatures_nvml.c +++ b/src/sysFeatures_nvml.c @@ -1,3 +1,33 @@ +/* + * ======================================================================================= + * + * Filename: sysFeatures_nvml.c + * + * Description: Interface to control various Nvidia NVML based features + * + * Version: + * Released: + * + * Authors: Michael Panzlaff, michael.panzlaff@fau.de + * Project: likwid + * + * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg + * + * This program 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. + * + * This program 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 + * this program. If not, see . + * + * ======================================================================================= + */ + #include #include diff --git a/src/topology_cuda.c b/src/topology_cuda.c index 2d4f5ea99..ead4b2989 100644 --- a/src/topology_cuda.c +++ b/src/topology_cuda.c @@ -1,9 +1,9 @@ /* * ======================================================================================= * - * Filename: topology_gpu.c + * Filename: topology_cuda.c * - * Description: Topology module for GPUs + * Description: Topology module for Nvidia GPUs * * Version: * Released: diff --git a/src/topology_rocm.c b/src/topology_rocm.c index 427534d36..f4f2f87e4 100644 --- a/src/topology_rocm.c +++ b/src/topology_rocm.c @@ -1,14 +1,15 @@ /* * ======================================================================================= * - * Filename: topology_gpu.c + * Filename: topology_rocm.c * - * Description: Topology module for GPUs + * Description: Topology module for AMD GPUs * * Version: * Released: * * Author: Thomas Gruber (tg), thomas.roehl@googlemail.com + * Various people at HPE * Project: likwid * * Copyright (C) 2016 RRZE, University Erlangen-Nuremberg diff --git a/test/Makefile b/test/Makefile index 71aeb6c13..5074c4818 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,3 +1,33 @@ +# ======================================================================================= +# +# Filename: Makefile +# +# Description: test Makefile +# +# Version: +# Released: +# +# Author: Jan Treibig (jt), jan.treibig@gmail.com +# Thomas Gruber (tr), thomas.roehl@googlemail.com +# +# Project: likwid +# +# Copyright (C) 2016 RRZE, University Erlangen-Nuremberg +# +# This program 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. +# +# This program 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 +# this program. If not, see . +# +# ======================================================================================= + include ../config.mk LIKWID_LIB ?= -L$(PREFIX)/lib