lv_test_helpers.h

API reference for lv_test_helpers.h

Report on GitHub

Functions

lv_test_get_allocation_count

Get the number of live allocations on the LVGL heap.

 
size_t lv_test_get_allocation_count(void)

Returns: size_t — the number of allocated blocks, or 0 when the heap does not report it

lv_test_get_free_mem

 
static size_t lv_test_get_free_mem(void)

Macros

LV_HEAP_CHECK

 
#define LV_HEAP_CHECK(x) \
    x

LV_TEST_WIDTH_TO_STRIDE

 
#define LV_TEST_WIDTH_TO_STRIDE(w, px_size) \
    ((((w) * (px_size) + (LV_DRAW_BUF_STRIDE_ALIGN - 1)) / LV_DRAW_BUF_STRIDE_ALIGN) * LV_DRAW_BUF_STRIDE_ALIGN)

Dependencies

Last updated on

On this page