UM C API  6.16
lbm_src_transport_stats_lbtipc_t_stct Struct Reference

Structure that holds datagram statistics for source LBT-IPC transports. More...

#include <lbm.h>

Data Fields

lbm_ulong_t num_clients
 Number of receiver transports that are currently connected to this source transport. (Snapshot)
lbm_ulong_t msgs_sent
 Number of LBT-IPC datagrams sent. Depending on batching settings, a single LBT-IPC datagram may contain one or more messages, or a fragment of a larger message. With LBT-IPC, larger messages are split into fragment sizes limited by configuration option transport_lbtipc_datagram_max_size (context) (default 64KB). (Cumulative)
lbm_ulong_t bytes_sent
 Number of LBT-IPC datagram bytes sent, i.e., the total of lengths of all LBT-IPC packets including UM header information. (Cumulative)

Detailed Description

Structure that holds datagram statistics for source LBT-IPC 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_src_transport_stats_lbtipc_t_stct for field definitions.

Cumulative vs Snapshot

Most UM statistics are cumulative. For example, msgs_sent starts at zero and grows over time as more and more messages are sent.

But some statistics are snapshots, meaning that they represent the value at a moment in time. These values can go up and down. For example, num_clients indicates the number of subscribers connected at the time of the snapshot.

The documentation for this struct was generated from the following file: