lv_profiler_builtin.h

API reference for lv_profiler_builtin.h

Report on GitHub
See Also: Private HeaderThis header has a companion private implementation with internal data structures.lv_profiler_builtin_private.h

Functions

lv_profiler_builtin_set_enable

Enable or disable the built-in profiler.

 
void lv_profiler_builtin_set_enable(bool enable)
Parameters
NameTypeDescription
enablebooltrue to enable the built-in profiler, false to disable

Macros

LV_PROFILER_BUILTIN_BEGIN_TAG

 
#define LV_PROFILER_BUILTIN_BEGIN_TAG(tag) \
    lv_profiler_builtin_write((tag), 'B')

LV_PROFILER_BUILTIN_END_TAG

 
#define LV_PROFILER_BUILTIN_END_TAG(tag) \
    lv_profiler_builtin_write((tag), 'E')

LV_PROFILER_BUILTIN_BEGIN

 
#define LV_PROFILER_BUILTIN_BEGIN LV_PROFILER_BUILTIN_BEGIN_TAG(__func__)

LV_PROFILER_BUILTIN_END

 
#define LV_PROFILER_BUILTIN_END LV_PROFILER_BUILTIN_END_TAG(__func__)

Dependencies

Indirect dependencies

How is this guide?

Last updated on

On this page