[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Making a transparent block for throughput measure
From: |
Josh Blum |
Subject: |
Re: [Discuss-gnuradio] Making a transparent block for throughput measurement |
Date: |
Wed, 12 Dec 2012 09:24:30 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
On 12/12/2012 01:54 AM, Martin Braun (CEL) wrote:
> On Tue, Dec 11, 2012 at 07:00:42PM -0500, Tommy Tracy II wrote:
>> I'm trying to measure the throughput of my flow graph. In order
>> to accomplish this, I'm creating a transparent float block and
>> then measuring the btyes/second that is going through the block.
>> Unfortunately, my block is not acting transparently. I'm getting
>> strange distortion when doing AM demodulation.
>
> Try without self.consume(); grextras using auto_consuming in sync
> blocks, although I don't know what happens if you do call it (my
> hypothesis is that if I'm right, your audio should sound choppy).
>
> MB
>
> PS: Or is this the omninous Bugsquatch people have been talking
> about?
>
In this case, i think its just the autoconsume in action. Not
Bugsquatch this time...
-josh
>
>>
>> Below is my grextras code: Is there something that I am missing?
>>
>> ---------- class emptyBlock(gr.block): def __init__(self, args):
>> gr.block.__init__(self, name="empty", in_sig=[float32],
>> out_sig=[float32])
>>
>> def work(self, input_items, output_items): in0 = input_items[0]
>> out = output_items[0] out[:]=in0 self.consume(0, len(in0)) return
>> len(out) ----------
>>
>> Sincerely, Tom Tracy II UVA
>>
>>
>> _______________________________________________ Discuss-gnuradio
>> mailing list address@hidden
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
>
> _______________________________________________ Discuss-gnuradio
> mailing list address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>