esp-sdr-zephyr
Raw I/Q receive and transmit on the ESP32-S3/C6 Wi-Fi radio, for Zephyr
Loading...
Searching...
No Matches
esp_sdr_tx_dac_stats Struct Reference

#include <esp_sdr/esp_sdr_tx.h>

Data Fields

uint64_t played
uint32_t underruns
uint32_t switches
uint32_t interp
uint32_t fill_us [2]
bool simd
uint32_t switch_us_sum
int32_t slack_us_min
uint32_t restarts
uint32_t fill_us_max
int32_t start_margin_us

Detailed Description

Statistics of the DAC backend since its last start.

Field Documentation

◆ fill_us

uint32_t esp_sdr_tx_dac_stats::fill_us[2]

Per filler: time inside the fill, blocks filled, and the CPU it ran on last.

◆ fill_us_max

uint32_t esp_sdr_tx_dac_stats::fill_us_max

Longest fill, latest wake-up for a switch, longest switch-to-fill gap, in us.

◆ interp

uint32_t esp_sdr_tx_dac_stats::interp

Interpolation factor (DAC rate / input rate) and run time in us.

◆ played

uint64_t esp_sdr_tx_dac_stats::played

Input samples played, and dropped (not there in time, or lost in a restart).

◆ restarts

uint32_t esp_sdr_tx_dac_stats::restarts

Restarts after a late fill.

◆ simd

bool esp_sdr_tx_dac_stats::simd

The vector interpolator passed its self-test and is in use.

◆ slack_us_min

int32_t esp_sdr_tx_dac_stats::slack_us_min

Least time left between a finished fill and its bank switch, in us.

◆ start_margin_us

int32_t esp_sdr_tx_dac_stats::start_margin_us

Time left before the due time after the session's first loop fill, in us.

◆ switch_us_sum

uint32_t esp_sdr_tx_dac_stats::switch_us_sum

Time between consecutive bank switches: sum and maximum in us.

◆ switches

uint32_t esp_sdr_tx_dac_stats::switches

Bank switches, and blocks not filled in time (the DAC restarted).

◆ underruns

uint32_t esp_sdr_tx_dac_stats::underruns

Blocks short of input (zero filled), and times the input lapped the ring.


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