11#ifndef INCLUDED_BLOCKS_PROBE_RATE_H
12#define INCLUDED_BLOCKS_PROBE_RATE_H
28 typedef std::shared_ptr<probe_rate>
sptr;
37 make(
size_t itemsize,
double update_rate_ms = 500.0,
double alpha = 0.0001);
throughput measurement
Definition: probe_rate.h:25
static sptr make(size_t itemsize, double update_rate_ms=500.0, double alpha=0.0001)
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:28
virtual void set_alpha(double alpha)=0
synchronous 1:1 input to output with history
Definition: sync_block.h:26
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:18
GR_RUNTIME_API size_t itemsize(types::vector_type type)
GNU Radio logging wrapper.
Definition: basic_block.h:29