SHA256
8
0
forked from pool/papi
Files
papi/papi-codecleanup.patch

61 lines
1.5 KiB
Diff
Raw Normal View History

- Initial package for OBS. - Update to 4.0.0: - fixed L3 cache size reporting for AMD Family 10h processors - fixed std deviation underflow in sdsc2 and sdsc4 tests - fixed bug in counter assignment for FreeBSD Atom implementation - updated cache tables for Intel Nehalem i7 processors - configure provides better autodetection of 2.6.31 or 2.6.32 kernels and perf_counter interface (in most cases) - configure provides better detection and autoselection of perfctr or perfmon drivers for linux - configure and sources have been modified to support perf_counter on kernel 2.6.31 and perf_event on kernel 2.6.32 - a papi.spec file has been added to simplify creation of rpms - Add Upstream patch2: * the utils/papi_version utility now reports PAPI 4.0.0.2, where the last digit matches the patch number. * the papi.spec file has a correction for a minor typo in the ExcludeArch line. * a serious but insidious bug in the overflow logic was corrected. This bug would only show up when PAPI_overflow was called between calls to PAPI_add_event. Overflow would only be set for the last call of PAPI_overflow. This has been corrected. * configure was mis-identifying some Pentium 4 processors; this has been corrected. * the ctests/shlib test now tests against the shared math library, libm.so, instead of libpapi.so * the PAPI_set_multiplex() call was silently returning without setting multiplex TRUE in cases where no event had been assigned to an eventset. This silent error has been removed. * the perfmon and perf_events counter interfaces were not properly handling event unit masks. This has been fixed. * PAPI_name_to_code() was not exiting properly in certain circumstances, failing on events where there should have been a match. This has been corrected. - Add RPM_OPT_FLAG to CFLAGS in configure. - Initialize variables where the compiler can't determine that they're used initialized. - Add full prototypes to src/ctests/mendes-alt.c - Delete the test for pfm_msg_t.type in configure for external libpfm instead of disabling the test all together. - build against libpfm3 on ia64 (bnc#578864) - fix filelist for ia64 again, perfmon file is back - Fix dependencies in baselibs.conf (papi-devel-32bit requires libpapi-32bit not papi-32bit which doesn't exist) (#bnc565236) - add baselibs.conf including libpapi and papi-devel (bnc #565236) - fix typo in last change - fix filelist for ia64 (remove /usr/share/papi), as the only file there does not exist on ia64 - fix filelist for ia64 - remove "," from excludearch - Update to 3.7.2: Bug Fixes: ---------- * fixed L3 cache size reporting for AMD Family 10h processors * fixed std deviation underflow in sdsc2 and sdsc4 tests Enhancements: ------------- * updated cache tables for Intel Nehalem i7 processors * configure provides better autodetection of 2.6.31 or 2.6.32 kernels and perf_counter interface (in most cases) * configure provides better detection and autoselection of perfctr or perfmon drivers for linux * configure and sources have been modified to support perf_counter on kernel 2.6.31 and perf_event on kernel 2.6.32 * a papi.spec file has been added to simplify creation of rpms - Initial package for SLES (fate#307192) - Include perf_counter.h from kernel because kernel-headers doesn't include the file. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/papi?expand=0&rev=1
2010-03-19 13:32:22 +00:00
Index: src/libpfm-3.y/lib/pfmlib_gen_ia32.c
===================================================================
--- src/libpfm-3.y/lib/pfmlib_gen_ia32.c.orig 2010-09-09 22:34:11.000000000 +0200
+++ src/libpfm-3.y/lib/pfmlib_gen_ia32.c 2012-02-20 12:31:08.877758682 +0100
- Initial package for OBS. - Update to 4.0.0: - fixed L3 cache size reporting for AMD Family 10h processors - fixed std deviation underflow in sdsc2 and sdsc4 tests - fixed bug in counter assignment for FreeBSD Atom implementation - updated cache tables for Intel Nehalem i7 processors - configure provides better autodetection of 2.6.31 or 2.6.32 kernels and perf_counter interface (in most cases) - configure provides better detection and autoselection of perfctr or perfmon drivers for linux - configure and sources have been modified to support perf_counter on kernel 2.6.31 and perf_event on kernel 2.6.32 - a papi.spec file has been added to simplify creation of rpms - Add Upstream patch2: * the utils/papi_version utility now reports PAPI 4.0.0.2, where the last digit matches the patch number. * the papi.spec file has a correction for a minor typo in the ExcludeArch line. * a serious but insidious bug in the overflow logic was corrected. This bug would only show up when PAPI_overflow was called between calls to PAPI_add_event. Overflow would only be set for the last call of PAPI_overflow. This has been corrected. * configure was mis-identifying some Pentium 4 processors; this has been corrected. * the ctests/shlib test now tests against the shared math library, libm.so, instead of libpapi.so * the PAPI_set_multiplex() call was silently returning without setting multiplex TRUE in cases where no event had been assigned to an eventset. This silent error has been removed. * the perfmon and perf_events counter interfaces were not properly handling event unit masks. This has been fixed. * PAPI_name_to_code() was not exiting properly in certain circumstances, failing on events where there should have been a match. This has been corrected. - Add RPM_OPT_FLAG to CFLAGS in configure. - Initialize variables where the compiler can't determine that they're used initialized. - Add full prototypes to src/ctests/mendes-alt.c - Delete the test for pfm_msg_t.type in configure for external libpfm instead of disabling the test all together. - build against libpfm3 on ia64 (bnc#578864) - fix filelist for ia64 again, perfmon file is back - Fix dependencies in baselibs.conf (papi-devel-32bit requires libpapi-32bit not papi-32bit which doesn't exist) (#bnc565236) - add baselibs.conf including libpapi and papi-devel (bnc #565236) - fix typo in last change - fix filelist for ia64 (remove /usr/share/papi), as the only file there does not exist on ia64 - fix filelist for ia64 - remove "," from excludearch - Update to 3.7.2: Bug Fixes: ---------- * fixed L3 cache size reporting for AMD Family 10h processors * fixed std deviation underflow in sdsc2 and sdsc4 tests Enhancements: ------------- * updated cache tables for Intel Nehalem i7 processors * configure provides better autodetection of 2.6.31 or 2.6.32 kernels and perf_counter interface (in most cases) * configure provides better detection and autoselection of perfctr or perfmon drivers for linux * configure and sources have been modified to support perf_counter on kernel 2.6.31 and perf_event on kernel 2.6.32 * a papi.spec file has been added to simplify creation of rpms - Initial package for SLES (fate#307192) - Include perf_counter.h from kernel because kernel-headers doesn't include the file. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/papi?expand=0&rev=1
2010-03-19 13:32:22 +00:00
@@ -257,7 +257,7 @@ pfm_gen_ia32_init(void)
unsigned int val;
pmu_eax_t eax;
pmu_edx_t edx;
- } eax, ecx, edx, ebx;
+ } eax = { 0 }, ecx = { 0 }, edx = { 0 }, ebx = { 0 };
unsigned int num_cnt, i;
int ret;
Index: src/ctests/mendes-alt.c
===================================================================
--- src/ctests/mendes-alt.c.orig 2011-05-21 00:12:50.000000000 +0200
+++ src/ctests/mendes-alt.c 2012-02-20 12:31:08.877758682 +0100
@@ -18,14 +18,13 @@ static int EventSet = PAPI_NULL;
- Initial package for OBS. - Update to 4.0.0: - fixed L3 cache size reporting for AMD Family 10h processors - fixed std deviation underflow in sdsc2 and sdsc4 tests - fixed bug in counter assignment for FreeBSD Atom implementation - updated cache tables for Intel Nehalem i7 processors - configure provides better autodetection of 2.6.31 or 2.6.32 kernels and perf_counter interface (in most cases) - configure provides better detection and autoselection of perfctr or perfmon drivers for linux - configure and sources have been modified to support perf_counter on kernel 2.6.31 and perf_event on kernel 2.6.32 - a papi.spec file has been added to simplify creation of rpms - Add Upstream patch2: * the utils/papi_version utility now reports PAPI 4.0.0.2, where the last digit matches the patch number. * the papi.spec file has a correction for a minor typo in the ExcludeArch line. * a serious but insidious bug in the overflow logic was corrected. This bug would only show up when PAPI_overflow was called between calls to PAPI_add_event. Overflow would only be set for the last call of PAPI_overflow. This has been corrected. * configure was mis-identifying some Pentium 4 processors; this has been corrected. * the ctests/shlib test now tests against the shared math library, libm.so, instead of libpapi.so * the PAPI_set_multiplex() call was silently returning without setting multiplex TRUE in cases where no event had been assigned to an eventset. This silent error has been removed. * the perfmon and perf_events counter interfaces were not properly handling event unit masks. This has been fixed. * PAPI_name_to_code() was not exiting properly in certain circumstances, failing on events where there should have been a match. This has been corrected. - Add RPM_OPT_FLAG to CFLAGS in configure. - Initialize variables where the compiler can't determine that they're used initialized. - Add full prototypes to src/ctests/mendes-alt.c - Delete the test for pfm_msg_t.type in configure for external libpfm instead of disabling the test all together. - build against libpfm3 on ia64 (bnc#578864) - fix filelist for ia64 again, perfmon file is back - Fix dependencies in baselibs.conf (papi-devel-32bit requires libpapi-32bit not papi-32bit which doesn't exist) (#bnc565236) - add baselibs.conf including libpapi and papi-devel (bnc #565236) - fix typo in last change - fix filelist for ia64 (remove /usr/share/papi), as the only file there does not exist on ia64 - fix filelist for ia64 - remove "," from excludearch - Update to 3.7.2: Bug Fixes: ---------- * fixed L3 cache size reporting for AMD Family 10h processors * fixed std deviation underflow in sdsc2 and sdsc4 tests Enhancements: ------------- * updated cache tables for Intel Nehalem i7 processors * configure provides better autodetection of 2.6.31 or 2.6.32 kernels and perf_counter interface (in most cases) * configure provides better detection and autoselection of perfctr or perfmon drivers for linux * configure and sources have been modified to support perf_counter on kernel 2.6.31 and perf_event on kernel 2.6.32 * a papi.spec file has been added to simplify creation of rpms - Initial package for SLES (fate#307192) - Include perf_counter.h from kernel because kernel-headers doesn't include the file. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/papi?expand=0&rev=1
2010-03-19 13:32:22 +00:00
extern int TESTS_QUIET; /* Declared in test_utils.c */
- Initial package for OBS. - Update to 4.0.0: - fixed L3 cache size reporting for AMD Family 10h processors - fixed std deviation underflow in sdsc2 and sdsc4 tests - fixed bug in counter assignment for FreeBSD Atom implementation - updated cache tables for Intel Nehalem i7 processors - configure provides better autodetection of 2.6.31 or 2.6.32 kernels and perf_counter interface (in most cases) - configure provides better detection and autoselection of perfctr or perfmon drivers for linux - configure and sources have been modified to support perf_counter on kernel 2.6.31 and perf_event on kernel 2.6.32 - a papi.spec file has been added to simplify creation of rpms - Add Upstream patch2: * the utils/papi_version utility now reports PAPI 4.0.0.2, where the last digit matches the patch number. * the papi.spec file has a correction for a minor typo in the ExcludeArch line. * a serious but insidious bug in the overflow logic was corrected. This bug would only show up when PAPI_overflow was called between calls to PAPI_add_event. Overflow would only be set for the last call of PAPI_overflow. This has been corrected. * configure was mis-identifying some Pentium 4 processors; this has been corrected. * the ctests/shlib test now tests against the shared math library, libm.so, instead of libpapi.so * the PAPI_set_multiplex() call was silently returning without setting multiplex TRUE in cases where no event had been assigned to an eventset. This silent error has been removed. * the perfmon and perf_events counter interfaces were not properly handling event unit masks. This has been fixed. * PAPI_name_to_code() was not exiting properly in certain circumstances, failing on events where there should have been a match. This has been corrected. - Add RPM_OPT_FLAG to CFLAGS in configure. - Initialize variables where the compiler can't determine that they're used initialized. - Add full prototypes to src/ctests/mendes-alt.c - Delete the test for pfm_msg_t.type in configure for external libpfm instead of disabling the test all together. - build against libpfm3 on ia64 (bnc#578864) - fix filelist for ia64 again, perfmon file is back - Fix dependencies in baselibs.conf (papi-devel-32bit requires libpapi-32bit not papi-32bit which doesn't exist) (#bnc565236) - add baselibs.conf including libpapi and papi-devel (bnc #565236) - fix typo in last change - fix filelist for ia64 (remove /usr/share/papi), as the only file there does not exist on ia64 - fix filelist for ia64 - remove "," from excludearch - Update to 3.7.2: Bug Fixes: ---------- * fixed L3 cache size reporting for AMD Family 10h processors * fixed std deviation underflow in sdsc2 and sdsc4 tests Enhancements: ------------- * updated cache tables for Intel Nehalem i7 processors * configure provides better autodetection of 2.6.31 or 2.6.32 kernels and perf_counter interface (in most cases) * configure provides better detection and autoselection of perfctr or perfmon drivers for linux * configure and sources have been modified to support perf_counter on kernel 2.6.31 and perf_event on kernel 2.6.32 * a papi.spec file has been added to simplify creation of rpms - Initial package for SLES (fate#307192) - Include perf_counter.h from kernel because kernel-headers doesn't include the file. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/papi?expand=0&rev=1
2010-03-19 13:32:22 +00:00
-int
-main( argc, argv )
- Initial package for OBS. - Update to 4.0.0: - fixed L3 cache size reporting for AMD Family 10h processors - fixed std deviation underflow in sdsc2 and sdsc4 tests - fixed bug in counter assignment for FreeBSD Atom implementation - updated cache tables for Intel Nehalem i7 processors - configure provides better autodetection of 2.6.31 or 2.6.32 kernels and perf_counter interface (in most cases) - configure provides better detection and autoselection of perfctr or perfmon drivers for linux - configure and sources have been modified to support perf_counter on kernel 2.6.31 and perf_event on kernel 2.6.32 - a papi.spec file has been added to simplify creation of rpms - Add Upstream patch2: * the utils/papi_version utility now reports PAPI 4.0.0.2, where the last digit matches the patch number. * the papi.spec file has a correction for a minor typo in the ExcludeArch line. * a serious but insidious bug in the overflow logic was corrected. This bug would only show up when PAPI_overflow was called between calls to PAPI_add_event. Overflow would only be set for the last call of PAPI_overflow. This has been corrected. * configure was mis-identifying some Pentium 4 processors; this has been corrected. * the ctests/shlib test now tests against the shared math library, libm.so, instead of libpapi.so * the PAPI_set_multiplex() call was silently returning without setting multiplex TRUE in cases where no event had been assigned to an eventset. This silent error has been removed. * the perfmon and perf_events counter interfaces were not properly handling event unit masks. This has been fixed. * PAPI_name_to_code() was not exiting properly in certain circumstances, failing on events where there should have been a match. This has been corrected. - Add RPM_OPT_FLAG to CFLAGS in configure. - Initialize variables where the compiler can't determine that they're used initialized. - Add full prototypes to src/ctests/mendes-alt.c - Delete the test for pfm_msg_t.type in configure for external libpfm instead of disabling the test all together. - build against libpfm3 on ia64 (bnc#578864) - fix filelist for ia64 again, perfmon file is back - Fix dependencies in baselibs.conf (papi-devel-32bit requires libpapi-32bit not papi-32bit which doesn't exist) (#bnc565236) - add baselibs.conf including libpapi and papi-devel (bnc #565236) - fix typo in last change - fix filelist for ia64 (remove /usr/share/papi), as the only file there does not exist on ia64 - fix filelist for ia64 - remove "," from excludearch - Update to 3.7.2: Bug Fixes: ---------- * fixed L3 cache size reporting for AMD Family 10h processors * fixed std deviation underflow in sdsc2 and sdsc4 tests Enhancements: ------------- * updated cache tables for Intel Nehalem i7 processors * configure provides better autodetection of 2.6.31 or 2.6.32 kernels and perf_counter interface (in most cases) * configure provides better detection and autoselection of perfctr or perfmon drivers for linux * configure and sources have been modified to support perf_counter on kernel 2.6.31 and perf_event on kernel 2.6.32 * a papi.spec file has been added to simplify creation of rpms - Initial package for SLES (fate#307192) - Include perf_counter.h from kernel because kernel-headers doesn't include the file. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/papi?expand=0&rev=1
2010-03-19 13:32:22 +00:00
-int argc;
-char *argv[];
+void funcX(double a[MAX], double b[MAX], int n);
+void funcA(double a[MAX], double b[MAX], int n);
+
+int main(int argc, char *argv[])
- Initial package for OBS. - Update to 4.0.0: - fixed L3 cache size reporting for AMD Family 10h processors - fixed std deviation underflow in sdsc2 and sdsc4 tests - fixed bug in counter assignment for FreeBSD Atom implementation - updated cache tables for Intel Nehalem i7 processors - configure provides better autodetection of 2.6.31 or 2.6.32 kernels and perf_counter interface (in most cases) - configure provides better detection and autoselection of perfctr or perfmon drivers for linux - configure and sources have been modified to support perf_counter on kernel 2.6.31 and perf_event on kernel 2.6.32 - a papi.spec file has been added to simplify creation of rpms - Add Upstream patch2: * the utils/papi_version utility now reports PAPI 4.0.0.2, where the last digit matches the patch number. * the papi.spec file has a correction for a minor typo in the ExcludeArch line. * a serious but insidious bug in the overflow logic was corrected. This bug would only show up when PAPI_overflow was called between calls to PAPI_add_event. Overflow would only be set for the last call of PAPI_overflow. This has been corrected. * configure was mis-identifying some Pentium 4 processors; this has been corrected. * the ctests/shlib test now tests against the shared math library, libm.so, instead of libpapi.so * the PAPI_set_multiplex() call was silently returning without setting multiplex TRUE in cases where no event had been assigned to an eventset. This silent error has been removed. * the perfmon and perf_events counter interfaces were not properly handling event unit masks. This has been fixed. * PAPI_name_to_code() was not exiting properly in certain circumstances, failing on events where there should have been a match. This has been corrected. - Add RPM_OPT_FLAG to CFLAGS in configure. - Initialize variables where the compiler can't determine that they're used initialized. - Add full prototypes to src/ctests/mendes-alt.c - Delete the test for pfm_msg_t.type in configure for external libpfm instead of disabling the test all together. - build against libpfm3 on ia64 (bnc#578864) - fix filelist for ia64 again, perfmon file is back - Fix dependencies in baselibs.conf (papi-devel-32bit requires libpapi-32bit not papi-32bit which doesn't exist) (#bnc565236) - add baselibs.conf including libpapi and papi-devel (bnc #565236) - fix typo in last change - fix filelist for ia64 (remove /usr/share/papi), as the only file there does not exist on ia64 - fix filelist for ia64 - remove "," from excludearch - Update to 3.7.2: Bug Fixes: ---------- * fixed L3 cache size reporting for AMD Family 10h processors * fixed std deviation underflow in sdsc2 and sdsc4 tests Enhancements: ------------- * updated cache tables for Intel Nehalem i7 processors * configure provides better autodetection of 2.6.31 or 2.6.32 kernels and perf_counter interface (in most cases) * configure provides better detection and autoselection of perfctr or perfmon drivers for linux * configure and sources have been modified to support perf_counter on kernel 2.6.31 and perf_event on kernel 2.6.32 * a papi.spec file has been added to simplify creation of rpms - Initial package for SLES (fate#307192) - Include perf_counter.h from kernel because kernel-headers doesn't include the file. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/papi?expand=0&rev=1
2010-03-19 13:32:22 +00:00
{
int i, retval;
double a[MAX], b[MAX];
- void funcX( ), funcA( );
- Initial package for OBS. - Update to 4.0.0: - fixed L3 cache size reporting for AMD Family 10h processors - fixed std deviation underflow in sdsc2 and sdsc4 tests - fixed bug in counter assignment for FreeBSD Atom implementation - updated cache tables for Intel Nehalem i7 processors - configure provides better autodetection of 2.6.31 or 2.6.32 kernels and perf_counter interface (in most cases) - configure provides better detection and autoselection of perfctr or perfmon drivers for linux - configure and sources have been modified to support perf_counter on kernel 2.6.31 and perf_event on kernel 2.6.32 - a papi.spec file has been added to simplify creation of rpms - Add Upstream patch2: * the utils/papi_version utility now reports PAPI 4.0.0.2, where the last digit matches the patch number. * the papi.spec file has a correction for a minor typo in the ExcludeArch line. * a serious but insidious bug in the overflow logic was corrected. This bug would only show up when PAPI_overflow was called between calls to PAPI_add_event. Overflow would only be set for the last call of PAPI_overflow. This has been corrected. * configure was mis-identifying some Pentium 4 processors; this has been corrected. * the ctests/shlib test now tests against the shared math library, libm.so, instead of libpapi.so * the PAPI_set_multiplex() call was silently returning without setting multiplex TRUE in cases where no event had been assigned to an eventset. This silent error has been removed. * the perfmon and perf_events counter interfaces were not properly handling event unit masks. This has been fixed. * PAPI_name_to_code() was not exiting properly in certain circumstances, failing on events where there should have been a match. This has been corrected. - Add RPM_OPT_FLAG to CFLAGS in configure. - Initialize variables where the compiler can't determine that they're used initialized. - Add full prototypes to src/ctests/mendes-alt.c - Delete the test for pfm_msg_t.type in configure for external libpfm instead of disabling the test all together. - build against libpfm3 on ia64 (bnc#578864) - fix filelist for ia64 again, perfmon file is back - Fix dependencies in baselibs.conf (papi-devel-32bit requires libpapi-32bit not papi-32bit which doesn't exist) (#bnc565236) - add baselibs.conf including libpapi and papi-devel (bnc #565236) - fix typo in last change - fix filelist for ia64 (remove /usr/share/papi), as the only file there does not exist on ia64 - fix filelist for ia64 - remove "," from excludearch - Update to 3.7.2: Bug Fixes: ---------- * fixed L3 cache size reporting for AMD Family 10h processors * fixed std deviation underflow in sdsc2 and sdsc4 tests Enhancements: ------------- * updated cache tables for Intel Nehalem i7 processors * configure provides better autodetection of 2.6.31 or 2.6.32 kernels and perf_counter interface (in most cases) * configure provides better detection and autoselection of perfctr or perfmon drivers for linux * configure and sources have been modified to support perf_counter on kernel 2.6.31 and perf_event on kernel 2.6.32 * a papi.spec file has been added to simplify creation of rpms - Initial package for SLES (fate#307192) - Include perf_counter.h from kernel because kernel-headers doesn't include the file. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/papi?expand=0&rev=1
2010-03-19 13:32:22 +00:00
tests_quiet( argc, argv ); /* Set TESTS_QUIET variable */
- Initial package for OBS. - Update to 4.0.0: - fixed L3 cache size reporting for AMD Family 10h processors - fixed std deviation underflow in sdsc2 and sdsc4 tests - fixed bug in counter assignment for FreeBSD Atom implementation - updated cache tables for Intel Nehalem i7 processors - configure provides better autodetection of 2.6.31 or 2.6.32 kernels and perf_counter interface (in most cases) - configure provides better detection and autoselection of perfctr or perfmon drivers for linux - configure and sources have been modified to support perf_counter on kernel 2.6.31 and perf_event on kernel 2.6.32 - a papi.spec file has been added to simplify creation of rpms - Add Upstream patch2: * the utils/papi_version utility now reports PAPI 4.0.0.2, where the last digit matches the patch number. * the papi.spec file has a correction for a minor typo in the ExcludeArch line. * a serious but insidious bug in the overflow logic was corrected. This bug would only show up when PAPI_overflow was called between calls to PAPI_add_event. Overflow would only be set for the last call of PAPI_overflow. This has been corrected. * configure was mis-identifying some Pentium 4 processors; this has been corrected. * the ctests/shlib test now tests against the shared math library, libm.so, instead of libpapi.so * the PAPI_set_multiplex() call was silently returning without setting multiplex TRUE in cases where no event had been assigned to an eventset. This silent error has been removed. * the perfmon and perf_events counter interfaces were not properly handling event unit masks. This has been fixed. * PAPI_name_to_code() was not exiting properly in certain circumstances, failing on events where there should have been a match. This has been corrected. - Add RPM_OPT_FLAG to CFLAGS in configure. - Initialize variables where the compiler can't determine that they're used initialized. - Add full prototypes to src/ctests/mendes-alt.c - Delete the test for pfm_msg_t.type in configure for external libpfm instead of disabling the test all together. - build against libpfm3 on ia64 (bnc#578864) - fix filelist for ia64 again, perfmon file is back - Fix dependencies in baselibs.conf (papi-devel-32bit requires libpapi-32bit not papi-32bit which doesn't exist) (#bnc565236) - add baselibs.conf including libpapi and papi-devel (bnc #565236) - fix typo in last change - fix filelist for ia64 (remove /usr/share/papi), as the only file there does not exist on ia64 - fix filelist for ia64 - remove "," from excludearch - Update to 3.7.2: Bug Fixes: ---------- * fixed L3 cache size reporting for AMD Family 10h processors * fixed std deviation underflow in sdsc2 and sdsc4 tests Enhancements: ------------- * updated cache tables for Intel Nehalem i7 processors * configure provides better autodetection of 2.6.31 or 2.6.32 kernels and perf_counter interface (in most cases) * configure provides better detection and autoselection of perfctr or perfmon drivers for linux * configure and sources have been modified to support perf_counter on kernel 2.6.31 and perf_event on kernel 2.6.32 * a papi.spec file has been added to simplify creation of rpms - Initial package for SLES (fate#307192) - Include perf_counter.h from kernel because kernel-headers doesn't include the file. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/papi?expand=0&rev=1
2010-03-19 13:32:22 +00:00
@@ -158,10 +157,7 @@ char *argv[];
exit( 1 );
- Initial package for OBS. - Update to 4.0.0: - fixed L3 cache size reporting for AMD Family 10h processors - fixed std deviation underflow in sdsc2 and sdsc4 tests - fixed bug in counter assignment for FreeBSD Atom implementation - updated cache tables for Intel Nehalem i7 processors - configure provides better autodetection of 2.6.31 or 2.6.32 kernels and perf_counter interface (in most cases) - configure provides better detection and autoselection of perfctr or perfmon drivers for linux - configure and sources have been modified to support perf_counter on kernel 2.6.31 and perf_event on kernel 2.6.32 - a papi.spec file has been added to simplify creation of rpms - Add Upstream patch2: * the utils/papi_version utility now reports PAPI 4.0.0.2, where the last digit matches the patch number. * the papi.spec file has a correction for a minor typo in the ExcludeArch line. * a serious but insidious bug in the overflow logic was corrected. This bug would only show up when PAPI_overflow was called between calls to PAPI_add_event. Overflow would only be set for the last call of PAPI_overflow. This has been corrected. * configure was mis-identifying some Pentium 4 processors; this has been corrected. * the ctests/shlib test now tests against the shared math library, libm.so, instead of libpapi.so * the PAPI_set_multiplex() call was silently returning without setting multiplex TRUE in cases where no event had been assigned to an eventset. This silent error has been removed. * the perfmon and perf_events counter interfaces were not properly handling event unit masks. This has been fixed. * PAPI_name_to_code() was not exiting properly in certain circumstances, failing on events where there should have been a match. This has been corrected. - Add RPM_OPT_FLAG to CFLAGS in configure. - Initialize variables where the compiler can't determine that they're used initialized. - Add full prototypes to src/ctests/mendes-alt.c - Delete the test for pfm_msg_t.type in configure for external libpfm instead of disabling the test all together. - build against libpfm3 on ia64 (bnc#578864) - fix filelist for ia64 again, perfmon file is back - Fix dependencies in baselibs.conf (papi-devel-32bit requires libpapi-32bit not papi-32bit which doesn't exist) (#bnc565236) - add baselibs.conf including libpapi and papi-devel (bnc #565236) - fix typo in last change - fix filelist for ia64 (remove /usr/share/papi), as the only file there does not exist on ia64 - fix filelist for ia64 - remove "," from excludearch - Update to 3.7.2: Bug Fixes: ---------- * fixed L3 cache size reporting for AMD Family 10h processors * fixed std deviation underflow in sdsc2 and sdsc4 tests Enhancements: ------------- * updated cache tables for Intel Nehalem i7 processors * configure provides better autodetection of 2.6.31 or 2.6.32 kernels and perf_counter interface (in most cases) * configure provides better detection and autoselection of perfctr or perfmon drivers for linux * configure and sources have been modified to support perf_counter on kernel 2.6.31 and perf_event on kernel 2.6.32 * a papi.spec file has been added to simplify creation of rpms - Initial package for SLES (fate#307192) - Include perf_counter.h from kernel because kernel-headers doesn't include the file. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/papi?expand=0&rev=1
2010-03-19 13:32:22 +00:00
}
-void
-funcX( a, b, n )
- Initial package for OBS. - Update to 4.0.0: - fixed L3 cache size reporting for AMD Family 10h processors - fixed std deviation underflow in sdsc2 and sdsc4 tests - fixed bug in counter assignment for FreeBSD Atom implementation - updated cache tables for Intel Nehalem i7 processors - configure provides better autodetection of 2.6.31 or 2.6.32 kernels and perf_counter interface (in most cases) - configure provides better detection and autoselection of perfctr or perfmon drivers for linux - configure and sources have been modified to support perf_counter on kernel 2.6.31 and perf_event on kernel 2.6.32 - a papi.spec file has been added to simplify creation of rpms - Add Upstream patch2: * the utils/papi_version utility now reports PAPI 4.0.0.2, where the last digit matches the patch number. * the papi.spec file has a correction for a minor typo in the ExcludeArch line. * a serious but insidious bug in the overflow logic was corrected. This bug would only show up when PAPI_overflow was called between calls to PAPI_add_event. Overflow would only be set for the last call of PAPI_overflow. This has been corrected. * configure was mis-identifying some Pentium 4 processors; this has been corrected. * the ctests/shlib test now tests against the shared math library, libm.so, instead of libpapi.so * the PAPI_set_multiplex() call was silently returning without setting multiplex TRUE in cases where no event had been assigned to an eventset. This silent error has been removed. * the perfmon and perf_events counter interfaces were not properly handling event unit masks. This has been fixed. * PAPI_name_to_code() was not exiting properly in certain circumstances, failing on events where there should have been a match. This has been corrected. - Add RPM_OPT_FLAG to CFLAGS in configure. - Initialize variables where the compiler can't determine that they're used initialized. - Add full prototypes to src/ctests/mendes-alt.c - Delete the test for pfm_msg_t.type in configure for external libpfm instead of disabling the test all together. - build against libpfm3 on ia64 (bnc#578864) - fix filelist for ia64 again, perfmon file is back - Fix dependencies in baselibs.conf (papi-devel-32bit requires libpapi-32bit not papi-32bit which doesn't exist) (#bnc565236) - add baselibs.conf including libpapi and papi-devel (bnc #565236) - fix typo in last change - fix filelist for ia64 (remove /usr/share/papi), as the only file there does not exist on ia64 - fix filelist for ia64 - remove "," from excludearch - Update to 3.7.2: Bug Fixes: ---------- * fixed L3 cache size reporting for AMD Family 10h processors * fixed std deviation underflow in sdsc2 and sdsc4 tests Enhancements: ------------- * updated cache tables for Intel Nehalem i7 processors * configure provides better autodetection of 2.6.31 or 2.6.32 kernels and perf_counter interface (in most cases) * configure provides better detection and autoselection of perfctr or perfmon drivers for linux * configure and sources have been modified to support perf_counter on kernel 2.6.31 and perf_event on kernel 2.6.32 * a papi.spec file has been added to simplify creation of rpms - Initial package for SLES (fate#307192) - Include perf_counter.h from kernel because kernel-headers doesn't include the file. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/papi?expand=0&rev=1
2010-03-19 13:32:22 +00:00
-double a[MAX], b[MAX];
-int n;
+void funcX(double a[MAX], double b[MAX], int n)
{
int i, k;
for ( k = 0; k < TIMES; k++ )
@@ -169,10 +165,7 @@ int n;
a[i] = a[i] * b[i] + 1.;
- Initial package for OBS. - Update to 4.0.0: - fixed L3 cache size reporting for AMD Family 10h processors - fixed std deviation underflow in sdsc2 and sdsc4 tests - fixed bug in counter assignment for FreeBSD Atom implementation - updated cache tables for Intel Nehalem i7 processors - configure provides better autodetection of 2.6.31 or 2.6.32 kernels and perf_counter interface (in most cases) - configure provides better detection and autoselection of perfctr or perfmon drivers for linux - configure and sources have been modified to support perf_counter on kernel 2.6.31 and perf_event on kernel 2.6.32 - a papi.spec file has been added to simplify creation of rpms - Add Upstream patch2: * the utils/papi_version utility now reports PAPI 4.0.0.2, where the last digit matches the patch number. * the papi.spec file has a correction for a minor typo in the ExcludeArch line. * a serious but insidious bug in the overflow logic was corrected. This bug would only show up when PAPI_overflow was called between calls to PAPI_add_event. Overflow would only be set for the last call of PAPI_overflow. This has been corrected. * configure was mis-identifying some Pentium 4 processors; this has been corrected. * the ctests/shlib test now tests against the shared math library, libm.so, instead of libpapi.so * the PAPI_set_multiplex() call was silently returning without setting multiplex TRUE in cases where no event had been assigned to an eventset. This silent error has been removed. * the perfmon and perf_events counter interfaces were not properly handling event unit masks. This has been fixed. * PAPI_name_to_code() was not exiting properly in certain circumstances, failing on events where there should have been a match. This has been corrected. - Add RPM_OPT_FLAG to CFLAGS in configure. - Initialize variables where the compiler can't determine that they're used initialized. - Add full prototypes to src/ctests/mendes-alt.c - Delete the test for pfm_msg_t.type in configure for external libpfm instead of disabling the test all together. - build against libpfm3 on ia64 (bnc#578864) - fix filelist for ia64 again, perfmon file is back - Fix dependencies in baselibs.conf (papi-devel-32bit requires libpapi-32bit not papi-32bit which doesn't exist) (#bnc565236) - add baselibs.conf including libpapi and papi-devel (bnc #565236) - fix typo in last change - fix filelist for ia64 (remove /usr/share/papi), as the only file there does not exist on ia64 - fix filelist for ia64 - remove "," from excludearch - Update to 3.7.2: Bug Fixes: ---------- * fixed L3 cache size reporting for AMD Family 10h processors * fixed std deviation underflow in sdsc2 and sdsc4 tests Enhancements: ------------- * updated cache tables for Intel Nehalem i7 processors * configure provides better autodetection of 2.6.31 or 2.6.32 kernels and perf_counter interface (in most cases) * configure provides better detection and autoselection of perfctr or perfmon drivers for linux * configure and sources have been modified to support perf_counter on kernel 2.6.31 and perf_event on kernel 2.6.32 * a papi.spec file has been added to simplify creation of rpms - Initial package for SLES (fate#307192) - Include perf_counter.h from kernel because kernel-headers doesn't include the file. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/papi?expand=0&rev=1
2010-03-19 13:32:22 +00:00
}
-void
-funcA( a, b, n )
- Initial package for OBS. - Update to 4.0.0: - fixed L3 cache size reporting for AMD Family 10h processors - fixed std deviation underflow in sdsc2 and sdsc4 tests - fixed bug in counter assignment for FreeBSD Atom implementation - updated cache tables for Intel Nehalem i7 processors - configure provides better autodetection of 2.6.31 or 2.6.32 kernels and perf_counter interface (in most cases) - configure provides better detection and autoselection of perfctr or perfmon drivers for linux - configure and sources have been modified to support perf_counter on kernel 2.6.31 and perf_event on kernel 2.6.32 - a papi.spec file has been added to simplify creation of rpms - Add Upstream patch2: * the utils/papi_version utility now reports PAPI 4.0.0.2, where the last digit matches the patch number. * the papi.spec file has a correction for a minor typo in the ExcludeArch line. * a serious but insidious bug in the overflow logic was corrected. This bug would only show up when PAPI_overflow was called between calls to PAPI_add_event. Overflow would only be set for the last call of PAPI_overflow. This has been corrected. * configure was mis-identifying some Pentium 4 processors; this has been corrected. * the ctests/shlib test now tests against the shared math library, libm.so, instead of libpapi.so * the PAPI_set_multiplex() call was silently returning without setting multiplex TRUE in cases where no event had been assigned to an eventset. This silent error has been removed. * the perfmon and perf_events counter interfaces were not properly handling event unit masks. This has been fixed. * PAPI_name_to_code() was not exiting properly in certain circumstances, failing on events where there should have been a match. This has been corrected. - Add RPM_OPT_FLAG to CFLAGS in configure. - Initialize variables where the compiler can't determine that they're used initialized. - Add full prototypes to src/ctests/mendes-alt.c - Delete the test for pfm_msg_t.type in configure for external libpfm instead of disabling the test all together. - build against libpfm3 on ia64 (bnc#578864) - fix filelist for ia64 again, perfmon file is back - Fix dependencies in baselibs.conf (papi-devel-32bit requires libpapi-32bit not papi-32bit which doesn't exist) (#bnc565236) - add baselibs.conf including libpapi and papi-devel (bnc #565236) - fix typo in last change - fix filelist for ia64 (remove /usr/share/papi), as the only file there does not exist on ia64 - fix filelist for ia64 - remove "," from excludearch - Update to 3.7.2: Bug Fixes: ---------- * fixed L3 cache size reporting for AMD Family 10h processors * fixed std deviation underflow in sdsc2 and sdsc4 tests Enhancements: ------------- * updated cache tables for Intel Nehalem i7 processors * configure provides better autodetection of 2.6.31 or 2.6.32 kernels and perf_counter interface (in most cases) * configure provides better detection and autoselection of perfctr or perfmon drivers for linux * configure and sources have been modified to support perf_counter on kernel 2.6.31 and perf_event on kernel 2.6.32 * a papi.spec file has been added to simplify creation of rpms - Initial package for SLES (fate#307192) - Include perf_counter.h from kernel because kernel-headers doesn't include the file. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/papi?expand=0&rev=1
2010-03-19 13:32:22 +00:00
-double a[MAX], b[MAX];
-int n;
+void funcA(double a[MAX], double b[MAX], int n)
{
int i, k;
double t[MAX];