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

Hardware telemetry metrics, CPU cycle accounting, and Memory Window telemetry slots. More...

Include dependency graph for telemetry.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  system_tick_info
 Per-core system tick and cycle execution metrics. More...
 
struct  telemetry_wnd_data
 Layout of telemetry data published in shared Memory Window. More...
 
struct  telemetry_perf_queue
 Circular queue tracking execution cycle history for rolling averages. More...
 

Macros

#define SOF_AVG_PERF_MEAS_DEPTH   64
 Number of historic entries in circular performance measurement queue.
 
#define SOF_AVG_PERF_MEAS_PERIOD   16
 Measurement period in runs over which rolling average is computed.
 
#define telemetry_timestamp   sof_cycle_get_64
 Timestamp counter accessor using hardware cycle counter.
 

Functions

void telemetry_update (uint32_t begin_ccount, uint32_t current_ccount)
 Update periodic telemetry metrics with elapsed core clock cycles.
 
struct system_tick_info * telemetry_get_systick_info_ptr (void)
 Retrieve pointer to system tick telemetry structure for current core.
 

Detailed Description

Hardware telemetry metrics, CPU cycle accounting, and Memory Window telemetry slots.

Macro Definition Documentation

◆ SOF_AVG_PERF_MEAS_DEPTH

#define SOF_AVG_PERF_MEAS_DEPTH   64

Number of historic entries in circular performance measurement queue.

◆ SOF_AVG_PERF_MEAS_PERIOD

#define SOF_AVG_PERF_MEAS_PERIOD   16

Measurement period in runs over which rolling average is computed.

◆ telemetry_timestamp

#define telemetry_timestamp   sof_cycle_get_64

Timestamp counter accessor using hardware cycle counter.