MemoryTelemetry struct final
#include <system/memory_telemetry.hpp>
Aggregated RAM telemetry used by runtime logs and /system/mem.
This snapshot intentionally focuses on the three active allocators in the firmware:
- FreeRTOS heap (
pvPortMalloc), - newlib heap (
malloc/newvia_sbrk), - lwIP internal heap (
lwip_stats.mem).
Public variables
- uint64_t lwip_alloc_error_count
- bool lwip_available
- uint64_t lwip_free_bytes
- uint64_t lwip_peak_used_bytes
- uint64_t lwip_total_bytes
- uint64_t lwip_used_bytes
- bool newlib_available
- uint64_t newlib_free_bytes
- uint64_t newlib_total_bytes
- uint64_t newlib_used_bytes
- uint64_t rtos_free_bytes
- uint64_t rtos_min_free_bytes
- uint64_t rtos_total_bytes
- uint64_t rtos_used_bytes