discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] cmake warning with -DENABLE_PERFORMANCE_COUNTERS-


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] cmake warning with -DENABLE_PERFORMANCE_COUNTERS-On (gr-ieee80211)
Date: Tue, 11 Jul 2017 13:17:20 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

Hi Sumit,

Does only GNU Radio need to be built with the  flag -DENABLE_PERFORMANCE_COUNTERS or the OOT projects too ?
exactly, only GNU Radio needs to be built with that flag – functionally, it's something that is done in the scheduler, not in the blocks the scheduler runs.

Best regards,

Marcus


On 07/11/2017 12:59 PM, sumit kumar wrote:
Hi, 

I have to do timing analysis of individual blocks of gr-ieee80211
I have built my gnuradio with the following 

~/rfnoc/src/gnuradio/build$ cmake -DCMAKE_INSTALL_PREFIX=/home/john/rfnoc -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_PERFORMANCE_COUNTERS=On -Werror ../

build was successful. 

And again I built gr-ieee80211 with following 

~/rfnoc/src/gr-ieee-80211/build$ cmake -DCMAKE_INSTALL_PREFIX=/home/john/rfnoc -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_PERFORMANCE_COUNTERS=On -Werror ../

However I get a warning that 
CMake Warning:
  Manually-specified variables were not used by the project:

    ENABLE_PERFORMANCE_COUNTERS

In order to do timing analysis of individual blocks of gr-ieee80211, I am following the documentation at

Does only GNU Radio need to be built with the  flag -DENABLE_PERFORMANCE_COUNTERS or the OOT projects too ? 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
address@hidden:~/rfnoc/src/gr-ieee-80211/build$ cmake -DCMAKE_INSTALL_PREFIX=/home/john/rfnoc -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_PERFORMANCE_COUNTERS=On -Werror ../
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   filesystem
--   system
Checking for GNU Radio Module: RUNTIME
 * INCLUDES=/home/john/rfnoc/include
 * LIBS=/home/john/rfnoc/lib/libgnuradio-runtime.so;/home/john/rfnoc/lib/libgnuradio-pmt.so
GNURADIO_RUNTIME_FOUND = TRUE
Checking for GNU Radio Module: DIGITAL
 * INCLUDES=/home/john/rfnoc/include
 * LIBS=/home/john/rfnoc/lib/libgnuradio-digital.so;/home/john/rfnoc/lib/libgnuradio-runtime.so;/home/john/rfnoc/lib/libgnuradio-pmt.so
GNURADIO_DIGITAL_FOUND = TRUE
Checking for GNU Radio Module: FFT
 * INCLUDES=/home/john/rfnoc/include
 * LIBS=/home/john/rfnoc/lib/libgnuradio-fft.so;/home/john/rfnoc/lib/libgnuradio-runtime.so;/home/john/rfnoc/lib/libgnuradio-pmt.so
GNURADIO_FFT_FOUND = TRUE
Checking for GNU Radio Module: FILTER
 * INCLUDES=/home/john/rfnoc/include
 * LIBS=/home/john/rfnoc/lib/libgnuradio-filter.so;/home/john/rfnoc/lib/libgnuradio-fft.so;/home/john/rfnoc/lib/libgnuradio-runtime.so;/home/john/rfnoc/lib/libgnuradio-pmt.so
GNURADIO_FILTER_FOUND = TRUE
Checking for GNU Radio Module: PMT
 * INCLUDES=/home/john/rfnoc/include
 * LIBS=/home/john/rfnoc/lib/libgnuradio-runtime.so;/home/john/rfnoc/lib/libgnuradio-pmt.so
GNURADIO_PMT_FOUND = TRUE
-- Found LOG4CPP: /usr/lib/liblog4cpp.so
-- 
-- Checking for module SWIG
-- Found SWIG version 3.0.8.
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    ENABLE_PERFORMANCE_COUNTERS


-- Build files have been written to: /home/john/rfnoc/src/gr-ieee-80211/build





_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


reply via email to

[Prev in Thread] Current Thread [Next in Thread]