lv_sysmon.h

API reference for lv_sysmon.h

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

Functions

lv_sysmon_create

Create a new system monitor label

 
lv_obj_t * lv_sysmon_create(lv_display_t *disp)
Parameters
NameTypeDescription
displv_display_t *create the sys. mon. on this display's system layer

Returns: lv_obj_t * — the create label

lv_sysmon_show_performance

Show system performance monitor: CPU usage and FPS count

 
void lv_sysmon_show_performance(lv_display_t *disp)
Parameters
NameTypeDescription
displv_display_t *target display, NULL: use the default displays

lv_sysmon_hide_performance

Hide system performance monitor

 
void lv_sysmon_hide_performance(lv_display_t *disp)
Parameters
NameTypeDescription
displv_display_t *target display, NULL: use the default

lv_sysmon_performance_dump

Dump the FPS data recorded between the last and current dump call.

 
void lv_sysmon_performance_dump(lv_display_t *disp)
Parameters
NameTypeDescription
displv_display_t *target display, NULL: use the default

lv_sysmon_performance_resume

Resume the system performance monitor.

 
void lv_sysmon_performance_resume(lv_display_t *disp)
Parameters
NameTypeDescription
displv_display_t *target display, NULL: use the default

lv_sysmon_performance_pause

Pause the system performance monitor.

 
void lv_sysmon_performance_pause(lv_display_t *disp)
Parameters
NameTypeDescription
displv_display_t *target display, NULL: use the default

When the sysmon is stopped you can use lv_sysmon_dump_performance to get performance information. See lv_sysmon_dump_performance for more information.

lv_sysmon_show_memory

Show system memory monitor: used memory and the memory fragmentation

 
void lv_sysmon_show_memory(lv_display_t *disp)
Parameters
NameTypeDescription
displv_display_t *target display, NULL: use the default displays

lv_sysmon_hide_memory

Hide system memory monitor

 
void lv_sysmon_hide_memory(lv_display_t *disp)
Parameters
NameTypeDescription
displv_display_t *target display, NULL: use the default displays

Dependencies

How is this guide?

Last updated on

On this page