TT-System-Firmware APIs 19.17.99
Tenstorrent Firmware
Loading...
Searching...
No Matches
Telemetry Table

Telemetry data structures and functions. More...

Collaboration diagram for Telemetry Table:

Data Structures

struct  telemetry_entry
 Represents an entry in the telemetry table. More...
struct  telemetry_table
 Represents the telemetry table containing telemetry data and metadata. More...

Functions

int telemetry_platform_slot (uint16_t tag)
uint32_t * telemetry_platform_data (void)

Variables

uint16_t telemetry_entry::tag
 The tag identifier for the telemetry entry.
uint16_t telemetry_entry::offset
 The offset of the telemetry data in the table.
uint32_t telemetry_table::version
 The version of the telemetry table.
uint32_t telemetry_table::entry_count
 The number of entries in the telemetry table.
struct telemetry_entry telemetry_table::tag_table [TAG_COUNT]
 The table mapping telemetry tags to their offsets.
uint32_t telemetry_table::telemetry [TAG_COUNT]
 The telemetry data corresponding to the tags.
static struct telemetry_table telemetry_table
static uint32_t * telemetry = &telemetry_table.telemetry[0]
 Pointer to the telemetry data buffer.

Detailed Description

Telemetry data structures and functions.

Function Documentation

◆ telemetry_platform_data()

uint32_t * telemetry_platform_data ( void )

Value storage, indexed by the slot returned from telemetry_platform_slot().

◆ telemetry_platform_slot()

int telemetry_platform_slot ( uint16_t tag)

Slot of tag in the platform's value storage, or -1 if the platform does not implement it.

Variable Documentation

◆ entry_count

uint32_t telemetry_table::entry_count

The number of entries in the telemetry table.

◆ offset

uint16_t telemetry_entry::offset

The offset of the telemetry data in the table.

◆ tag

uint16_t telemetry_entry::tag

The tag identifier for the telemetry entry.

◆ tag_table

struct telemetry_entry telemetry_table::tag_table

The table mapping telemetry tags to their offsets.

◆ telemetry [1/2]

uint32_t* telemetry = &telemetry_table.telemetry[0]
static

Pointer to the telemetry data buffer.

This buffer contains dynamically updated telemetry values. The address of this buffer is published in the TELEMETRY_DATA_REG_ADDR register.

◆ telemetry [2/2]

uint32_t telemetry_table::telemetry

The telemetry data corresponding to the tags.

◆ telemetry_table

struct telemetry_table telemetry_table
static

◆ version

uint32_t telemetry_table::version

The version of the telemetry table.