gr::blocks::probe_rate
gr::sync_block
gnuradio/blocks/probe_rate.h
std::shared_ptr< probe_rate > typedef std::shared_ptr<probe_rate> gr::blocks::probe_rate::sptr sptr gr::blocks::probe_rate::sptr
sptr static sptr gr::blocks::probe_rate::make (size_t itemsize, double update_rate_ms=500.0, double alpha=0.0001, std::string_view name="") make gr::blocks::probe_rate::make size_t itemsize double update_rate_ms 500.0 double alpha 0.0001 std::string_view name ""

Make a throughput measurement block.

itemsize

size of each stream item

update_rate_ms

minimum update time in milliseconds

alpha

gain for running average filter

name

name for this probe (used in generated dictionaries)

If the name is empty, the "name" field in the emitted dictionaries is omitted.
gr::basic_block::name
void virtual void gr::blocks::probe_rate::set_alpha (double alpha)=0 set_alpha gr::blocks::probe_rate::set_alpha double alpha

Set the decay of the exponential rate average.

void virtual void gr::blocks::probe_rate::set_name (std::string_view name)=0 set_name gr::blocks::probe_rate::set_name std::string_view name

Set the name of this probe Used in the emitted dictionaries if not empty.

gr::basic_block::name
double virtual double gr::blocks::probe_rate::rate ()=0 rate gr::blocks::probe_rate::rate
bool bool gr::blocks::probe_rate::start () override=0 start gr::blocks::probe_rate::start start

Called to enable drivers, etc for i/o devices.

This allows a block to enable an associated driver to begin transferring 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.

bool bool gr::blocks::probe_rate::stop () override=0 stop gr::blocks::probe_rate::stop stop

Called to disable drivers, etc for i/o devices.

throughput measurement

gr::basic_block
gr::block
gr::blocks::probe_rate
gr::messages::msg_accepter
gr::msg_accepter
gr::sync_block
std::enable_shared_from_this< basic_block >
gr::basic_block
d_name
d_symbol_alias
d_symbol_name
d_input_signature
d_output_signature
d_debug_logger
d_logger
msg_queue
d_rpc_vars
d_message_subscribers
gr::block
d_max_output_buffer
d_min_output_buffer
d_pmt_done
d_system_port
gr::blocks::probe_rate
gr::messages::msg_accepter
gr::msg_accepter
gr::sync_block
std::basic_string< Char >
std::enable_shared_from_this< basic_block >
std::map< pmt::pmt_t, msg_queue_t, msg_queue_comparator >
std::shared_ptr< io_signature >
std::shared_ptr< logger >
std::shared_ptr< pmt_base >
std::shared_ptr< rpcbasic_base >
std::string
std::vector< long >
std::vector< rpcbasic_sptr >
elements
p
- gr::blocks::probe_rate
  _post
- gr::blocks::probe_rate
  active_thread_priority
- gr::blocks::probe_rate
  add_item_tag
- gr::blocks::probe_rate
  add_item_tag
- gr::blocks::probe_rate
  alias
- gr::blocks::probe_rate
  alias_pmt
- gr::blocks::probe_rate
  alias_set
- gr::blocks::probe_rate
  alignment
- gr::blocks::probe_rate
  allocate_buffer
- gr::blocks::probe_rate
  allocate_detail
- gr::blocks::probe_rate
  basic_block
- gr::blocks::probe_rate
  basic_block
- gr::blocks::probe_rate
  BLACK
- gr::blocks::probe_rate
  blkd_input_timer_value
- gr::blocks::probe_rate
  block
- gr::blocks::probe_rate
  block
- gr::blocks::probe_rate
  check_topology
- gr::blocks::probe_rate
  clear_finished
- gr::blocks::probe_rate
  color
- gr::blocks::probe_rate
  consume
- gr::blocks::probe_rate
  consume_each
- gr::blocks::probe_rate
  d_blkd_input_timer_value
- gr::blocks::probe_rate
  d_color
- gr::blocks::probe_rate
  d_debug_logger
- gr::blocks::probe_rate
  d_input_signature
- gr::blocks::probe_rate
  d_logger
- gr::blocks::probe_rate
  d_max_output_buffer
- gr::blocks::probe_rate
  d_message_subscribers
- gr::blocks::probe_rate
  d_min_output_buffer
- gr::blocks::probe_rate
  d_name
- gr::blocks::probe_rate
  d_output_signature
- gr::blocks::probe_rate
  d_pmt_done
- gr::blocks::probe_rate
  d_rpc_set
- gr::blocks::probe_rate
  d_rpc_vars
- gr::blocks::probe_rate
  d_setlock
- gr::blocks::probe_rate
  d_symbol_alias
- gr::blocks::probe_rate
  d_symbol_name
- gr::blocks::probe_rate
  d_symbolic_id
- gr::blocks::probe_rate
  d_system_port
- gr::blocks::probe_rate
  d_unique_id
- gr::blocks::probe_rate
  declare_sample_delay
- gr::blocks::probe_rate
  declare_sample_delay
- gr::blocks::probe_rate
  delete_head_nowait
- gr::blocks::probe_rate
  detail
- gr::blocks::probe_rate
  dispatch_msg
- gr::blocks::probe_rate
  empty_handled_p
- gr::blocks::probe_rate
  empty_handled_p
- gr::blocks::probe_rate
  empty_p
- gr::blocks::probe_rate
  empty_p
- gr::blocks::probe_rate
  enable_update_rate
- gr::blocks::probe_rate
  erase_msg
- gr::blocks::probe_rate
  expand_minmax_buffer
- gr::blocks::probe_rate
  finished
- gr::blocks::probe_rate
  fixed_rate
- gr::blocks::probe_rate
  fixed_rate_ninput_to_noutput
- gr::blocks::probe_rate
  fixed_rate_noutput_to_ninput
- gr::blocks::probe_rate
  forecast
- gr::blocks::probe_rate
  general_work
- gr::blocks::probe_rate
  get_iterator
- gr::blocks::probe_rate
  get_msg_map
- gr::blocks::probe_rate
  get_tags_in_range
- gr::blocks::probe_rate
  get_tags_in_range
- gr::blocks::probe_rate
  get_tags_in_window
- gr::blocks::probe_rate
  get_tags_in_window
- gr::blocks::probe_rate
  GREY
- gr::blocks::probe_rate
  has_msg_handler
- gr::blocks::probe_rate
  has_msg_port
- gr::blocks::probe_rate
  history
- gr::blocks::probe_rate
  identifier
- gr::blocks::probe_rate
  input_signature
- gr::blocks::probe_rate
  insert_tail
- gr::blocks::probe_rate
  is_pc_rpc_set
- gr::blocks::probe_rate
  is_rpc_set
- gr::blocks::probe_rate
  is_set_max_noutput_items
- gr::blocks::probe_rate
  is_unaligned
- gr::blocks::probe_rate
  log_level
- gr::blocks::probe_rate
  make
- gr::blocks::probe_rate
  max_noutput_items
- gr::blocks::probe_rate
  max_output_buffer
- gr::blocks::probe_rate
  message_port_is_hier
- gr::blocks::probe_rate
  message_port_is_hier_in
- gr::blocks::probe_rate
  message_port_is_hier_out
- gr::blocks::probe_rate
  message_port_pub
- gr::blocks::probe_rate
  message_port_register_in
- gr::blocks::probe_rate
  message_port_register_out
- gr::blocks::probe_rate
  message_port_sub
- gr::blocks::probe_rate
  message_port_unsub
- gr::blocks::probe_rate
  message_ports_in
- gr::blocks::probe_rate
  message_ports_out
- gr::blocks::probe_rate
  message_subscribers
- gr::blocks::probe_rate
  min_noutput_items
- gr::blocks::probe_rate
  min_output_buffer
- gr::blocks::probe_rate
  mp_relative_rate
- gr::blocks::probe_rate
  msg_accepter
- gr::blocks::probe_rate
  msg_queue
- gr::blocks::probe_rate
  name
- gr::blocks::probe_rate
  nitems_read
- gr::blocks::probe_rate
  nitems_written
- gr::blocks::probe_rate
  nmsgs
- gr::blocks::probe_rate
  no_pc_rpc
- gr::blocks::probe_rate
  notify_msg_neighbors
- gr::blocks::probe_rate
  output_multiple
- gr::blocks::probe_rate
  output_multiple_set
- gr::blocks::probe_rate
  output_signature
- gr::blocks::probe_rate
  pc_input_buffers_full
- gr::blocks::probe_rate
  pc_input_buffers_full
- gr::blocks::probe_rate
  pc_input_buffers_full_avg
- gr::blocks::probe_rate
  pc_input_buffers_full_avg
- gr::blocks::probe_rate
  pc_input_buffers_full_var
- gr::blocks::probe_rate
  pc_input_buffers_full_var
- gr::blocks::probe_rate
  pc_noutput_items
- gr::blocks::probe_rate
  pc_noutput_items_avg
- gr::blocks::probe_rate
  pc_noutput_items_var
- gr::blocks::probe_rate
  pc_nproduced
- gr::blocks::probe_rate
  pc_nproduced_avg
- gr::blocks::probe_rate
  pc_nproduced_var
- gr::blocks::probe_rate
  pc_output_buffers_full
- gr::blocks::probe_rate
  pc_output_buffers_full
- gr::blocks::probe_rate
  pc_output_buffers_full_avg
- gr::blocks::probe_rate
  pc_output_buffers_full_avg
- gr::blocks::probe_rate
  pc_output_buffers_full_var
- gr::blocks::probe_rate
  pc_output_buffers_full_var
- gr::blocks::probe_rate
  pc_throughput_avg
- gr::blocks::probe_rate
  pc_work_time
- gr::blocks::probe_rate
  pc_work_time_avg
- gr::blocks::probe_rate
  pc_work_time_total
- gr::blocks::probe_rate
  pc_work_time_var
- gr::blocks::probe_rate
  post
- gr::blocks::probe_rate
  processor_affinity
- gr::blocks::probe_rate
  produce
- gr::blocks::probe_rate
  rate
- gr::blocks::probe_rate
  relative_rate
- gr::blocks::probe_rate
  relative_rate_d
- gr::blocks::probe_rate
  relative_rate_i
- gr::blocks::probe_rate
  remove_item_tag
- gr::blocks::probe_rate
  remove_item_tag
- gr::blocks::probe_rate
  replace_buffer
- gr::blocks::probe_rate
  reset_perf_counters
- gr::blocks::probe_rate
  rpc_set
- gr::blocks::probe_rate
  sample_delay
- gr::blocks::probe_rate
  set_alignment
- gr::blocks::probe_rate
  set_alpha
- gr::blocks::probe_rate
  set_blkd_input_timer_value
- gr::blocks::probe_rate
  set_block_alias
- gr::blocks::probe_rate
  set_color
- gr::blocks::probe_rate
  set_detail
- gr::blocks::probe_rate
  set_fixed_rate
- gr::blocks::probe_rate
  set_history
- gr::blocks::probe_rate
  set_input_signature
- gr::blocks::probe_rate
  set_inverse_relative_rate
- gr::blocks::probe_rate
  set_is_unaligned
- gr::blocks::probe_rate
  set_log_level
- gr::blocks::probe_rate
  set_max_noutput_items
- gr::blocks::probe_rate
  set_max_output_buffer
- gr::blocks::probe_rate
  set_max_output_buffer
- gr::blocks::probe_rate
  set_min_noutput_items
- gr::blocks::probe_rate
  set_min_output_buffer
- gr::blocks::probe_rate
  set_min_output_buffer
- gr::blocks::probe_rate
  set_msg_handler
- gr::blocks::probe_rate
  set_name
- gr::blocks::probe_rate
  set_output_multiple
- gr::blocks::probe_rate
  set_output_signature
- gr::blocks::probe_rate
  set_processor_affinity
- gr::blocks::probe_rate
  set_relative_rate
- gr::blocks::probe_rate
  set_relative_rate
- gr::blocks::probe_rate
  set_tag_propagation_policy
- gr::blocks::probe_rate
  set_thread_priority
- gr::blocks::probe_rate
  set_unaligned
- gr::blocks::probe_rate
  setup_pc_rpc
- gr::blocks::probe_rate
  setup_rpc
- gr::blocks::probe_rate
  shared_from_base
- gr::blocks::probe_rate
  sptr
- gr::blocks::probe_rate
  start
- gr::blocks::probe_rate
  stop
- gr::blocks::probe_rate
  symbol_name
- gr::blocks::probe_rate
  symbolic_id
- gr::blocks::probe_rate
  sync_block
- gr::blocks::probe_rate
  sync_block
- gr::blocks::probe_rate
  system_handler
- gr::blocks::probe_rate
  tag_propagation_policy
- gr::blocks::probe_rate
  tag_propagation_policy_t
- gr::blocks::probe_rate
  thread_priority
- gr::blocks::probe_rate
  to_basic_block
- gr::blocks::probe_rate
  TPP_ALL_TO_ALL
- gr::blocks::probe_rate
  TPP_CUSTOM
- gr::blocks::probe_rate
  TPP_DONT
- gr::blocks::probe_rate
  TPP_ONE_TO_ONE
- gr::blocks::probe_rate
  unaligned
- gr::blocks::probe_rate
  unique_id
- gr::blocks::probe_rate
  unset_max_noutput_items
- gr::blocks::probe_rate
  unset_processor_affinity
- gr::blocks::probe_rate
  update_rate
- gr::blocks::probe_rate
  vcolor
- gr::blocks::probe_rate
  WHITE
- gr::blocks::probe_rate
  work
- gr::blocks::probe_rate
  WORK_CALLED_PRODUCE
- gr::blocks::probe_rate
  WORK_DONE
- gr::blocks::probe_rate
  work_return_t
- gr::blocks::probe_rate
  ~basic_block
- gr::blocks::probe_rate
  ~block
- gr::blocks::probe_rate
  ~msg_accepter