diff options
Diffstat (limited to 'gnuradio-runtime/lib/block.cc')
-rw-r--r-- | gnuradio-runtime/lib/block.cc | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/gnuradio-runtime/lib/block.cc b/gnuradio-runtime/lib/block.cc index e1369f9d47..af963c9977 100644 --- a/gnuradio-runtime/lib/block.cc +++ b/gnuradio-runtime/lib/block.cc @@ -52,6 +52,7 @@ namespace gr { d_tag_propagation_policy(TPP_ALL_TO_ALL), d_priority(-1), d_pc_rpc_set(false), + d_update_rate(false), d_max_output_buffer(std::max(output_signature->max_streams(),1), -1), d_min_output_buffer(std::max(output_signature->max_streams(),1), -1) { @@ -444,7 +445,20 @@ namespace gr { else d_min_output_buffer[port] = min_output_buffer; } - + + + bool + block::update_rate() const + { + return d_update_rate; + } + + void + block::enable_update_rate(bool en) + { + d_update_rate = en; + } + float block::pc_noutput_items() { |