![]() |
TT-System-Firmware APIs 19.17.99
Tenstorrent Firmware
|
#include "telemetry.h"#include "telemetry_platform.h"#include <float.h>#include <math.h>#include <stdint.h>#include <zephyr/kernel.h>#include <zephyr/logging/log.h>#include <tenstorrent/sys_init_defines.h>
Macros | |
| #define | APPVERSION 0x00000000 |
| #define APPVERSION 0x00000000 |
| uint32_t ConvertFloatToTelemetry | ( | float | value | ) |
| float ConvertTelemetryToFloat | ( | int32_t | value | ) |
| uint32_t GetTelemetryFlashJedecId | ( | void | ) |
Get the flash JEDEC ID from TAG_FLASH_JEDEC_ID, 0 if it was never read.
| LOG_MODULE_REGISTER | ( | telemetry | , |
| CONFIG_TT_APP_LOG_LEVEL | ) |
Store value for tag; ignored if the platform does not implement the tag.
| void UpdateTelemetryBoardPowerLimit | ( | uint32_t | power_limit | ) |
| void UpdateTelemetryFlashJedecId | ( | uint32_t | jedec_id | ) |
Record the flash JEDEC ID in TAG_FLASH_JEDEC_ID.
| void UpdateTelemetryGddrThermTrip | ( | bool | enabled | ) |
Update the GDDR thermal-trip active-config bit in TAG_FW_ACTIVE_CONFIG_0.
| void UpdateTelemetryHostAiclkLimit | ( | uint32_t | fmax | ) |
| void UpdateTelemetryNocTranslation | ( | bool | translation_enabled | ) |
| void UpdateTelemetryTdpLimit | ( | uint32_t | tdp_limit | ) |
| void UpdateTelemetryThermTripCount | ( | uint16_t | therm_trip_count | ) |