[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 03/03: cmake: Turning performance counters
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 03/03: cmake: Turning performance counters on at compile-time by default. Still default to off at runtime (modify gnuradio-runtime.conf file to change this). |
Date: |
Sat, 8 Mar 2014 20:33:19 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
trondeau pushed a commit to branch master
in repository gnuradio.
commit 5568d1e1ca12f0d002541b8cbb68ac558e826a47
Author: Tom Rondeau <address@hidden>
Date: Sat Mar 8 15:30:50 2014 -0500
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.
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1bd5a91..05659ab 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)