11#ifndef INCLUDED_BLOCKS_PROBE_RATE_H 
   12#define INCLUDED_BLOCKS_PROBE_RATE_H 
   29    typedef std::shared_ptr<probe_rate> 
sptr;
 
   42                     double update_rate_ms = 500.0,
 
   43                     double alpha = 0.0001,
 
   44                     std::string_view 
name = 
"");
 
 
std::string name() const
Definition basic_block.h:168
throughput measurement
Definition probe_rate.h:26
static sptr make(size_t itemsize, double update_rate_ms=500.0, double alpha=0.0001, std::string_view name="")
Make a throughput measurement block.
bool start() override=0
Called to enable drivers, etc for i/o devices.
bool stop() override=0
Called to disable drivers, etc for i/o devices.
std::shared_ptr< probe_rate > sptr
Definition probe_rate.h:29
virtual void set_alpha(double alpha)=0
Set the decay of the exponential rate average.
virtual void set_name(std::string_view name)=0
Set the name of this probe Used in the emitted dictionaries if not empty.
sync_block(void)
Definition sync_block.h:28
#define BLOCKS_API
Definition gr-blocks/include/gnuradio/blocks/api.h:18
GNU Radio logging wrapper.
Definition basic_block.h:29