summaryrefslogtreecommitdiff
path: root/grc/blocks/gr_fft_vxx.xml
diff options
context:
space:
mode:
authorJohnathan Corgan2012-03-13 17:38:12 -0700
committerJohnathan Corgan2012-03-13 17:38:12 -0700
commit62c6323bdb06d7d3f103d3a75265d45ae6ce00b4 (patch)
tree7f995aba5eb3f2e0bfeac3a4114307fd2c5a6f3a /grc/blocks/gr_fft_vxx.xml
parent83c6ee03ada6a44788421ebfe813b7d594fc8a7a (diff)
parent8e013157752f1b42665430fde0f1c6f7d7147153 (diff)
downloadgnuradio-62c6323bdb06d7d3f103d3a75265d45ae6ce00b4.tar.gz
gnuradio-62c6323bdb06d7d3f103d3a75265d45ae6ce00b4.tar.bz2
gnuradio-62c6323bdb06d7d3f103d3a75265d45ae6ce00b4.zip
Merge remote branch 'gnuradio/maint' into gr-uhd-set-user-register
Diffstat (limited to 'grc/blocks/gr_fft_vxx.xml')
-rw-r--r--grc/blocks/gr_fft_vxx.xml11
1 files changed, 9 insertions, 2 deletions
diff --git a/grc/blocks/gr_fft_vxx.xml b/grc/blocks/gr_fft_vxx.xml
index d398486ef..565354e41 100644
--- a/grc/blocks/gr_fft_vxx.xml
+++ b/grc/blocks/gr_fft_vxx.xml
@@ -10,10 +10,11 @@
<import>from gnuradio import gr</import>
<import>from gnuradio import window</import>
<make>#if $type() == "complex"
-gr.fft_vcc($fft_size, $forward, $window, $shift)
+gr.fft_vcc($fft_size, $forward, $window, $shift, $nthreads)
#else
-gr.fft_vfc($fft_size, $forward, $window)
+gr.fft_vfc($fft_size, $forward, $window, $nthreads)
#end if</make>
+ <callback>set_nthreads($nthreads)</callback>
<param>
<name>Input Type</name>
<key>type</key>
@@ -68,6 +69,12 @@ gr.fft_vfc($fft_size, $forward, $window)
<key>False</key>
</option>
</param>
+ <param>
+ <name>Num. Threads</name>
+ <key>nthreads</key>
+ <value>1</value>
+ <type>int</type>
+ </param>
<sink>
<name>in</name>
<type>$type</type>