Sound Open Firmware
Loading...
Searching...
No Matches

Circular queue tracking execution cycle history for rolling averages. More...

#include <src/include/sof/debug/telemetry/telemetry.h>

Data Fields

size_t elements [SOF_AVG_PERF_MEAS_DEPTH]
 Historic cycle measurements.
 
size_t index
 Current head index in circular queue.
 
uint8_t full
 1 if queue has wrapped, 0 otherwise
 
size_t size
 Number of valid measurements stored.
 
size_t sum
 Running cumulative sum of valid measurements.
 

Detailed Description

Circular queue tracking execution cycle history for rolling averages.

Field Documentation

◆ elements

size_t telemetry_perf_queue::elements[SOF_AVG_PERF_MEAS_DEPTH]

Historic cycle measurements.

◆ full

uint8_t telemetry_perf_queue::full

1 if queue has wrapped, 0 otherwise

◆ index

size_t telemetry_perf_queue::index

Current head index in circular queue.

◆ size

size_t telemetry_perf_queue::size

Number of valid measurements stored.

◆ sum

size_t telemetry_perf_queue::sum

Running cumulative sum of valid measurements.


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