|
GNU Radio 3.6.5 C++ API
|
#include <probe_rate_impl.h>

Public Member Functions | |
| probe_rate_impl (size_t itemsize, double update_rate_ms, double alpha=0.0001) | |
| ~probe_rate_impl () | |
| void | set_alpha (double alpha) |
| double | rate () |
| double | timesincelast () |
| bool | start () |
| Called to enable drivers, etc for i/o devices. More... | |
| bool | stop () |
| Called to disable drivers, etc for i/o devices. More... | |
| int | work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) |
| just like gr_block::general_work, only this arranges to call consume_each for you More... | |
Additional Inherited Members | |
Public Types inherited from gr::blocks::probe_rate | |
| typedef boost::shared_ptr < probe_rate > | sptr |
Static Public Member Functions inherited from gr::blocks::probe_rate | |
| static sptr | make (size_t itemsize, double update_rate_ms=500.0, double alpha=0.0001) |
| Make a throughput measurement block. More... | |
Protected Types inherited from gr_basic_block | |
| enum | vcolor { WHITE, GREY, BLACK } |
Protected Member Functions inherited from gr_sync_block | |
| gr_sync_block (void) | |
| gr_sync_block (const std::string &name, gr_io_signature_sptr input_signature, gr_io_signature_sptr output_signature) | |
Protected Attributes inherited from gr_block | |
| std::vector< long > | d_max_output_buffer |
| std::vector< long > | d_min_output_buffer |
| gruel::mutex | d_setlock |
| gr_logger_ptr | d_logger |
| gr_logger_ptr | d_debug_logger |
| gr::blocks::probe_rate_impl::probe_rate_impl | ( | size_t | itemsize, |
| double | update_rate_ms, | ||
| double | alpha = 0.0001 |
||
| ) |
| gr::blocks::probe_rate_impl::~probe_rate_impl | ( | ) |
|
virtual |
Implements gr::blocks::probe_rate.
|
virtual |
Implements gr::blocks::probe_rate.
|
virtual |
Called to enable drivers, etc for i/o devices.
This allows a block to enable an associated driver to begin transfering data just before we start to execute the scheduler. The end result is that this reduces latency in the pipeline when dealing with audio devices, usrps, etc.
Implements gr::blocks::probe_rate.
|
virtual |
Called to disable drivers, etc for i/o devices.
Implements gr::blocks::probe_rate.
| double gr::blocks::probe_rate_impl::timesincelast | ( | ) |
|
virtual |
just like gr_block::general_work, only this arranges to call consume_each for you
The user must override work to define the signal processing code
Implements gr_sync_block.