Skip to main content

lv_mem_monitor_core

Function lv_mem_monitor_core 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn lv_mem_monitor_core( monitor: *mut lv_mem_monitor_t, )
Expand description

Report the memory usage through lv_mem_monitor().

LVGL shares Xila’s system heap in this configuration, so this reports the system heap as a whole, not LVGL’s own share: max_used, the block counts and the biggest free block are not tracked. Use the built-in pool (see the README) to measure LVGL’s own peak usage.

§Safety

monitor must be null or point to a writable lv_mem_monitor_t.