|
From: | Activecat |
Subject: | Re: [Discuss-gnuradio] something about forecast() |
Date: | Wed, 4 Jun 2014 15:20:12 +0800 |
Hi all:I want to know something about the forecast().I have already known that forcast() can tell scheduler how many input items are required for each output item.1.But now i have read two example:The first one:void your_block::forecast(int noutput_items,gr_vector_int &ninput_items_required){ninput_items_required[0]=100 * noutput_items;ninput_items_required[1]=100 * noutput_items; }
2.I want to know if we use the general_work().Is it means that we must use the forcast()?Thanks.Best regards
[Prev in Thread] | Current Thread | [Next in Thread] |