21#if defined(ESP_PLATFORM)
32 ALIRO_LAT_BLE_CONNECT = 0,
33 ALIRO_LAT_GATT_SPSM_READ,
34 ALIRO_LAT_GATT_VER_WRITE,
40 ALIRO_LAT_EXCHANGE_DONE,
41 ALIRO_LAT_AP_COMPLETED,
48 ALIRO_LAT_FIRST_RANGE,
49 ALIRO_LAT_TRUSTED_RANGE,
51 ALIRO_LAT_BOLT_DRIVEN,
55#if defined(CONFIG_ALIRO_LAT_TRACE)
static void aliro_lat_begin(void)
Initialize latency tracking; record the BLE_CONNECT epoch as the zero reference for all subsequent ph...
Definition aliro_lat.h:74
static int aliro_lat_mark(enum aliro_lat_phase phase)
Record the current uptime for a given Aliro protocol phase if not yet marked; return 1 if newly recor...
Definition aliro_lat.h:81
static void aliro_lat_report(void)
Emit a latency report showing all recorded phase timestamps and elapsed intervals; dump flight-record...
Definition aliro_lat.h:90