UM C API
6.16.1
|
Structure that holds datagram statistics for receiver LBT-SMX transports. More...
#include <lbm.h>
Data Fields | |
lbm_ulong_t | msgs_rcved |
Number of LBT-SMX datagrams received. (Cumulative) | |
lbm_ulong_t | bytes_rcved |
Number of LBT-SMX datagram bytes received, i.e., the total of lengths of all LBT-SMX packets including UM header information. (Cumulative) | |
lbm_ulong_t | lbm_msgs_rcved |
Number of messages received over an LBT-SMX transport. (Cumulative) More... | |
lbm_ulong_t | lbm_msgs_no_topic_rcved |
Number of messages received that were not for a topic of interest to the receiver. (Cumulative) More... | |
lbm_ulong_t | reserved1 |
Reserved field. Do not use. | |
Structure that holds datagram statistics for receiver LBT-SMX transports.
Note that when stats are sampled, the fields in the structure are not necessarily from the same instant in time. The structure might be updated concurrently with it being sampled, and while each structure field is atomically read, the field values can be skewed slightly across time.
See lbm_rcv_transport_stats_lbtsmx_t_stct for field definitions.
Cumulative vs Snapshot
These UM statistics are cumulative. For example, msgs_rcved starts at zero and grows over time as more and more messages are sent.
lbm_ulong_t lbm_rcv_transport_stats_lbtsmx_t_stct::lbm_msgs_no_topic_rcved |
Number of messages received that were not for a topic of interest to the receiver. (Cumulative)
A high value (relative to, or approaching lbm_msgs_rcved above) indicates more CPU time required to filter out uninteresting topics, in which case, consider reconfiguring sources to filter more aggressively at the transport layer.
lbm_ulong_t lbm_rcv_transport_stats_lbtsmx_t_stct::lbm_msgs_rcved |
Number of messages received over an LBT-SMX transport. (Cumulative)
A single datagram may contain more than more messages provided the messages size is less than half the size of the configuration option transport_lbtsmx_datagram_max_size (source) (default 8192 bytes), This number also includes messages received for which there was no interested receiver, tallied in the lbm_msgs_no_topic_rcved counter.