lv_sysmon.h

Functions

lv_obj_t *lv_sysmon_create(lv_display_t *disp)

Create a new system monitor label

Parameters:

disp – create the sys. mon. on this display's system layer

Returns:

the create label

void lv_sysmon_show_performance(lv_display_t *disp)

Show system performance monitor: CPU usage and FPS count

Parameters:

disp – target display, NULL: use the default displays

void lv_sysmon_hide_performance(lv_display_t *disp)

Hide system performance monitor

Parameters:

disp – target display, NULL: use the default

void lv_sysmon_performance_dump(lv_display_t *disp)

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

Parameters:

disp – target display, NULL: use the default

void lv_sysmon_performance_resume(lv_display_t *disp)

Resume the system performance monitor.

Parameters:

disp – target display, NULL: use the default

void lv_sysmon_performance_pause(lv_display_t *disp)

Pause the system performance monitor.

Note

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

Parameters:

disp – target display, NULL: use the default

void lv_sysmon_show_memory(lv_display_t *disp)

Show system memory monitor: used memory and the memory fragmentation

Parameters:

disp – target display, NULL: use the default displays

void lv_sysmon_hide_memory(lv_display_t *disp)

Hide system memory monitor

Parameters:

disp – target display, NULL: use the default displays