13#ifndef CDI_STATISTICS_H__
14#define CDI_STATISTICS_H__
82 uint64_t max_latency_microsecs, uint64_t bytes_transferred);
This file declares the public API data types, structures and functions that comprise the CDI low-leve...
CdiReturnStatus
Values used for API function return codes.
Definition cdi_core_api.h:189
void(* CdiCoreStatsCallback)(const CdiCoreStatsCbData *data_ptr)
Prototype of statistics callback function. The user code must implement a function with this prototyp...
Definition cdi_core_api.h:606
void * CdiUserCbParameter
Type used as user defined data that is passed to the registered user RX/TX callback functions.
Definition cdi_core_api.h:182
struct CloudWatchSdkMetrics * CloudWatchSdkMetricsHandle
Type used as the handle (pointer to an opaque structure) for managing statistics for a connection....
Definition cloudwatch_sdk_metrics.h:29
This header file contains definitions used to define the build configuration of the CDI SDK's impleme...
This header file contains definitions of types and the one global variable used internally by the SDK...
CdiReturnStatus StatsDestroy(StatisticsHandle handle)
Definition statistics.c:404
CdiReturnStatus StatsConfigure(StatisticsHandle handle, const CdiStatsConfigData *stats_config_ptr)
Definition statistics.c:438
struct StatisticsState * StatisticsHandle
Type used as the handle (pointer to an opaque structure) for managing statistics for a connection....
Definition statistics.h:30
CdiReturnStatus StatsCreate(CdiConnectionState *con_state_ptr, CdiCoreStatsCallback stats_cb_ptr, CdiUserCbParameter stats_user_cb_param, CloudWatchSdkMetricsHandle cw_sdk_handle, CloudWatchSdkMetricsHandle metrics_gatherer_sdk_handle, StatisticsHandle *return_handle_ptr)
Definition statistics.c:334
void StatsGatherPayloadStatsFromConnection(CdiEndpointState *endpoint_ptr, bool payload_ok, uint64_t start_time, uint64_t max_latency_microsecs, uint64_t bytes_transferred)
Definition statistics.c:477
Structure definition behind the connection handles shared with the user's application program....
Definition private.h:371
Structure definition behind the connection handles shared with the user's application program....
Definition private.h:330
A structure that is used to hold statistics gathering configuration data.
Definition cdi_core_api.h:611
Structure used to hold state data for statistics.
Definition statistics.c:70
CdiConnectionState * con_state_ptr
Pointer to connection state data.
Definition statistics.c:71