summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rondeau <tom@trondeau.com>2014-03-08 15:30:50 -0500
committerTom Rondeau <tom@trondeau.com>2014-03-08 15:30:50 -0500
commit5568d1e1ca12f0d002541b8cbb68ac558e826a47 (patch)
treecd84663183ca69e12326336c5037e1da5ebc8719
parent84d6a90dbc2aa547cc5482b264f4d68c5ef799a4 (diff)
cmake: Turning performance counters on at compile-time by default. Still default to off at runtime (modify gnuradio-runtime.conf file to change this).
Experiments showed that this combination adds no overhead to GNU Radio.
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1bd5a911f7..05659abec5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -161,7 +161,7 @@ endif(isusr)
set(GR_PREFSDIR ${SYSCONFDIR}/${CMAKE_PROJECT_NAME}/conf.d)
-OPTION(ENABLE_PERFORMANCE_COUNTERS "Enable block performance counters" OFF)
+OPTION(ENABLE_PERFORMANCE_COUNTERS "Enable block performance counters" ON)
if(ENABLE_PERFORMANCE_COUNTERS)
message(STATUS "ADDING PERF COUNTERS")
SET(GR_PERFORMANCE_COUNTERS True)