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_gapless_stats Struct Reference

#include <esp_sdr/esp_sdr_gapless.h>

Data Fields

uint64_t pairs
uint32_t abandoned_pairs
uint32_t error
uint32_t late_max
uint32_t pack_cycles_max
uint32_t baseline
uint32_t idle_cycles_min
uint32_t ratio_x16
uint32_t gain
uint32_t hot_windows
uint32_t cap
uint32_t stage_peak
uint64_t polls
uint64_t cycles [ESP_SDR_GAPLESS_ACTIVITIES]
uint64_t busy_cycles [ESP_SDR_GAPLESS_ACTIVITIES]
uint32_t overrun_activity
uint32_t wide_chunks
uint32_t sort_chunks
uint32_t bursts
uint32_t stage_words

Detailed Description

A run's counters.

Field Documentation

◆ abandoned_pairs

uint32_t esp_sdr_gapless_stats::abandoned_pairs

Kept samples lost because their block was needed again before they were copied.

◆ baseline

uint32_t esp_sdr_gapless_stats::baseline

Quiet baseline at the end, window power per sample in raw units squared.

◆ bursts

uint32_t esp_sdr_gapless_stats::bursts

Bursts (runs of kept windows) begun; of them, refused at their start (too little room in staging) and cut short later (staging full or the unit's cap): their rest went, up to what a window's staging can reach (what goes on past that counts as a new burst).

◆ busy_cycles

uint64_t esp_sdr_gapless_stats::busy_cycles[ESP_SDR_GAPLESS_ACTIVITIES]

The same for the units that ended with the staging ring over half full, and their count.

◆ cap

uint32_t esp_sdr_gapless_stats::cap

Samples a unit may keep, at the end (the cap follows what the CPU copies in time).

◆ cycles

uint64_t esp_sdr_gapless_stats::cycles[ESP_SDR_GAPLESS_ACTIVITIES]

CPU cycles by enum esp_sdr_gapless_activity, over all units.

◆ error

uint32_t esp_sdr_gapless_stats::error

How the run ended (enum esp_sdr_gapless_error) and a detail of it.

◆ gain

uint32_t esp_sdr_gapless_stats::gain

Receive gain at the end, its steps during the run, the slowest step's cycles.

◆ hot_windows

uint32_t esp_sdr_gapless_stats::hot_windows

Windows whose estimated peak passed full scale less the low headroom.

◆ idle_cycles_min

uint32_t esp_sdr_gapless_stats::idle_cycles_min

Free cycles left per unit, the lowest seen.

◆ late_max

uint32_t esp_sdr_gapless_stats::late_max

Latest switch past the threshold, samples.

◆ overrun_activity

uint32_t esp_sdr_gapless_stats::overrun_activity

The first step that left the switch half the late limit past the threshold: what it was (enum esp_sdr_gapless_activity + 1, 0: none), its cycles and the cycles it had before the deadline. A step that overran its budget, for tuning.

◆ pack_cycles_max

uint32_t esp_sdr_gapless_stats::pack_cycles_max

Most cycles one pack slice / one service() call took.

◆ pairs

uint64_t esp_sdr_gapless_stats::pairs

Samples the ring delivered, kept and written to the sink, and kept but dropped.

◆ polls

uint64_t esp_sdr_gapless_stats::polls

Poll loop turns.

◆ ratio_x16

uint32_t esp_sdr_gapless_stats::ratio_x16

Threshold over the baseline at the end, in sixteenths (the servo's).

◆ sort_chunks

uint32_t esp_sdr_gapless_stats::sort_chunks

Width sorting: chunks judged, and the loud ones by their largest correlation (bin k: up to (k + 1) / 8 of the power above the noise; wide below 1/2, bins 0 to 3).

◆ stage_peak

uint32_t esp_sdr_gapless_stats::stage_peak

Staging ring: most words in use.

◆ stage_words

uint32_t esp_sdr_gapless_stats::stage_words

Staging words in service at the end (block 3's ring, plus the dump blocks' upper halves once their canaries came back intact), and canary checks that failed.

◆ wide_chunks

uint32_t esp_sdr_gapless_stats::wide_chunks

Width sorting: chunks sent as width records, and the samples they stood for.


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