lv_profiler_builtin_private.h

API reference for lv_profiler_builtin_private.h

Report on GitHub
See Also: Public APIThis is the private implementation. See the public header for the stable interface.lv_profiler_builtin.h

Functions

lv_profiler_builtin_posix_init

Initialize the built-in profiler with POSIX functions.

 
void lv_profiler_builtin_posix_init(void)

Structs

struct

_lv_profiler_builtin_config_t

LVGL profiler built-in configuration structure.

MemberTypeDescription
buf_sizesize_tThe size of the buffer used for profiling data
tick_per_secuint32_tThe number of ticks per second
tick_get_cbuint64_t(*)(void)Callback function to get the current tick count
flush_cbvoid(*)(const char *buf)Callback function to flush the profiling data
tid_get_cbint(*)(void)Callback function to get the current thread ID
cpu_get_cbint(*)(void)Callback function to get the current CPU

Dependencies

How is this guide?

Last updated on

On this page