discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] why alignment feature work only when output_multi


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] why alignment feature work only when output_multiple not set
Date: Tue, 16 Jun 2015 09:31:37 -0400

On Tue, Jun 16, 2015 at 8:57 AM, Tiankun Hu <address@hidden> wrote:
Hi,
After go through the block_executor.cc, I found alignment feature work only when output_multiple not set, why them can not work at the same time?

--
Thanks
Tiankun

Because they are competing objectives. The alignment tries to keep buffers aligned and therefore the number of items will be based on a multiple of the alignment requirement. If you need an output multiple that's different than that, which one should the scheduler choose?

Note that the buffers always begin on a page and so are inherently aligned. If your output multiple is also a multiple of the alignment for the data type, then you'll always be aligned.

Tom


reply via email to

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