refact(monitor): refact system monitor component (#4195)

Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
This commit is contained in:
_VIFEXTech
2023-05-02 16:40:13 +08:00
committed by GitHub
parent 42f70fecf0
commit 4658c27f37
10 changed files with 169 additions and 173 deletions

View File

@@ -279,16 +279,18 @@
*-----------*/
/*1: Show CPU usage and FPS count
* Requires `LV_USE_MONITOR = 1`*/
* Requires `LV_USE_SYSMON = 1`*/
#define LV_USE_PERF_MONITOR 0
#if LV_USE_PERF_MONITOR
#define LV_USE_PERF_MONITOR_POS LV_ALIGN_BOTTOM_RIGHT
#define LV_USE_PERF_MONITOR_LOG_MDOE 0
/*0: Displays performance data on the screen, 1: Prints performance data using log.*/
#define LV_USE_PERF_MONITOR_LOG_MODE 0
#endif
/*1: Show the used memory and the memory fragmentation
* Requires `LV_USE_BUILTIN_MALLOC = 1`
* Requires `LV_USE_MONITOR = 1`*/
* Requires `LV_USE_SYSMON = 1`*/
#define LV_USE_MEM_MONITOR 0
#if LV_USE_MEM_MONITOR
#define LV_USE_MEM_MONITOR_POS LV_ALIGN_BOTTOM_LEFT
@@ -695,8 +697,8 @@
/*1: Enable API to take snapshot for object*/
#define LV_USE_SNAPSHOT 0
/*1: Enable Monitor component*/
#define LV_USE_MONITOR 1
/*1: Enable system monitor component*/
#define LV_USE_SYSMON 0
/*1: Enable Monkey test*/
#define LV_USE_MONKEY 0