CDI SDK
SDK for transporting chunks of data reliably and with low latency using a polled mode network driver.
Loading...
Searching...
No Matches
CdiAdapterEndpointStats Struct Reference

Transfer statistics data specific to an adapter endpoint. Used in the CdiTransferStats structure as a parameter of the user-registered CdiCoreStatsCallback() API function. More...

#include <cdi_core_api.h>

Data Fields

uint32_t dropped_connection_count
 Number of times the connection has been lost.
 
uint32_t probe_command_retry_count
 
int poll_thread_load
 
bool connected
 true if connected, false if not connected.
 

Detailed Description

Transfer statistics data specific to an adapter endpoint. Used in the CdiTransferStats structure as a parameter of the user-registered CdiCoreStatsCallback() API function.

Field Documentation

◆ poll_thread_load

int CdiAdapterEndpointStats::poll_thread_load

The true load on the poll thread's CPU core in units of hundredths of a percent. The normal range of this value is between 0 and 10000 (0% to 100.00%) but it may be -1 to indicate a computation error. This value is determined by computing the portion of each five second window that is spent doing productive work, as opposed to spinning while it has nothing to do.

◆ probe_command_retry_count

uint32_t CdiAdapterEndpointStats::probe_command_retry_count

Number of probe command retries due to dropped/lost control packets. The control protocol is UDP based and does not use the SRD hardware. This provides a secondary channel of communication.


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