Commit 56b85764 authored by Lorenz Huedepohl's avatar Lorenz Huedepohl

Disable use of PAPI and perf system calls by default

parent d336cb45
......@@ -23,8 +23,8 @@ AM_PROG_CC_C_O
AC_OPENMP
AC_ARG_ENABLE([papi],
[AS_HELP_STRING([--disable-papi],[Do not use PAPI to also measure flop count])],
[want_papi=$enableval],[want_papi="yes"])
[AS_HELP_STRING([--enable-papi],[Use PAPI to also measure flop counts (does not work reliably)])],
[want_papi=$enableval],[want_papi="no"])
if test "$want_papi" = "yes" ; then
AC_CHECK_LIB([papi],[PAPI_library_init],[],
[AC_MSG_ERROR(["Could not find usable PAPI installation, please adjust CFLAGS, LDFLAGS"])])
......@@ -32,8 +32,8 @@ fi
AM_CONDITIONAL([HAVE_LIBPAPI],[test "$ac_cv_lib_papi_PAPI_library_init" = "yes"])
AC_ARG_ENABLE([perf],
[AS_HELP_STRING([--disable-perf],[Do not use the Linux perf API to measure amount of DRAM memory accesses])],
[want_perf=$enableval],[want_perf="yes"])
[AS_HELP_STRING([--enable-perf],[Use the Linux perf API to measure amount of DRAM memory accesses (does not work reliably and only on some CPUs)])],
[want_perf=$enableval],[want_perf="no"])
if test "$want_perf" = "yes" ; then
AC_CHECK_HEADERS([linux/perf_event.h],[perf_found="yes"],[perf_found="no"])
if test "$perf_found" = "no" ; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment