TT Zephyr Platforms 18.11.99
Tenstorrent Firmware
Loading...
Searching...
No Matches
telemetry_internal.c File Reference

Functions

void ReadTelemetryInternal (int64_t max_staleness, TelemetryInternalData *data)
 Read telemetry values that are shared by multiple components.

Variables

static int64_t last_update_time
static TelemetryInternalData internal_data

Function Documentation

◆ ReadTelemetryInternal()

void ReadTelemetryInternal ( int64_t max_staleness,
TelemetryInternalData * data )

Read telemetry values that are shared by multiple components.

This function will update the cached TelemetryInternalData values if necessary. Then return a copy of the values through the *data pointer.

Parameters
max_stalenessMaximum time interval in milliseconds since the last update
dataPointer to the TelemetryInternalData struct to fill with the values

Variable Documentation

◆ internal_data

TelemetryInternalData internal_data
static

◆ last_update_time

int64_t last_update_time
static