UM C API 6.17.1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- Data Structures
- Data Fields

Data Fields
lbm_src_transport_stats_lbtsmx_t_stct Struct Reference

Structure that holds datagram statistics for source LBT-SMX 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-SMX datagrams sent. (Cumulative)
lbm_ulong_t | bytes_sent
| Number of LBT-SMX datagram bytes sent, i.e., the total of lengths of all LBT-SMX packets including UM header information. (Cumulative)

## Detailed Description

Structure that holds datagram statistics for source 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_src_transport_stats_lbtsmx_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:

- lbm.h