Add perf console (render fps, flush cost, CPU idle, heap) for the display work; record idle baseline
Firmware / build (push) Successful in 4m8s
Firmware / build (push) Successful in 4m8s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user