Add perf console (render fps, flush cost, CPU idle, heap) for the display work; record idle baseline
Firmware / build (push) Successful in 4m8s

This commit is contained in:
2026-09-27 16:43:53 +02:00
parent 43ca6b96ec
commit d3e499efed
8 changed files with 277 additions and 4 deletions
+8
View File
@@ -171,6 +171,14 @@ bool lvgl_port_lock(int timeout_ms);
*/
bool lvgl_port_unlock(void);
/**
* @brief Try the LVGL lock without waiting and release it at once.
* Used by the perf monitor to read lv_timer_get_idle() only when the
* UI task is not mid-render (the value is a plain int, so a stale read
* is harmless; a blocked console is not).
*/
bool lvgl_port_lock_available(void);
#ifdef __cplusplus
}
#endif