Re: [Discuss-gnuradio] UHD: simple_usrp and resize buffer

2010-06-26 Thread Josh Blum
Change the build type in the visual studio IDE from "Debug" to "Release". The debug build type disables all optimizations and puts in debug bloat, while the release build type does the opposite. The performance difference is massive. -Josh On Sat, Jun 19, 2010 at 6:08 AM, Damien S. wrote: > > Ok

Re: [Discuss-gnuradio] UHD: simple_usrp and resize buffer

2010-06-19 Thread Josh Blum
I have not had a chance to mess with optimization flags for msvc. If your running cmake from the command line try cmake -DCMAKE_CXXFLAGS:STRING="/QIfist /arch:SSE2 /G7" ../ or set those flags into CMAKE_CXXFLAGS the the gui during configure I don't have experience with msvc optimization flags so I

Re: [Discuss-gnuradio] UHD: simple_usrp and resize buffer

2010-06-19 Thread Damien S.
Ok. Thank you. I have another question. I made a simple program to receive samples from USRP2 with UHD. This program is a slight modification of the rx_timed_samples example with continuous stream mode and the full buffer receive mode enabled. My problem is that even with an rx_rate of 1MHz packe

Re: [Discuss-gnuradio] UHD: simple_usrp and resize buffer

2010-06-14 Thread Josh Blum
RX samples per packet: 358 What your seeing is the print out for the number of samples per packet (udp datagram). This is independent from the recv_buff_size, which is the size of the socket buffer. -Josh On 06/14/2010 02:27 PM, Damien S. wrote: Hi all, Since a few days, i'm trying to use

[Discuss-gnuradio] UHD: simple_usrp and resize buffer

2010-06-14 Thread Damien S.
Hi all, Since a few days, i'm trying to use UHD with USRP2/WBX under Windows Vista Pro 64 bits. The rx_timed_samples example seems to work but it's impossible to change the recv_buff_size and is really problematic since its default size is very small (358 samples). Looking at the usrp_simple class