fix(sysmon): fix build break (#5585)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com> Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
This commit is contained in:
@@ -205,7 +205,7 @@ static void perf_observer_cb(lv_observer_t * observer, lv_subject_t * subject)
|
|||||||
"refr %" LV_PRIu32 "ms (render %" LV_PRIu32 "ms | flush %" LV_PRIu32 "ms), "
|
"refr %" LV_PRIu32 "ms (render %" LV_PRIu32 "ms | flush %" LV_PRIu32 "ms), "
|
||||||
"CPU %" LV_PRIu32 "%%\n",
|
"CPU %" LV_PRIu32 "%%\n",
|
||||||
perf->calculated.fps, perf->measured.refr_cnt, perf->measured.render_cnt, perf->measured.flush_cnt,
|
perf->calculated.fps, perf->measured.refr_cnt, perf->measured.render_cnt, perf->measured.flush_cnt,
|
||||||
perf->calculated.refr_avg_time, perf->calculated.render_real_avg_time, perf->calculated.flush_avg_time,
|
perf->calculated.refr_avg_time, perf->calculated.render_avg_time, perf->calculated.flush_avg_time,
|
||||||
perf->calculated.cpu);
|
perf->calculated.cpu);
|
||||||
#else
|
#else
|
||||||
lv_label_set_text_fmt(
|
lv_label_set_text_fmt(
|
||||||
|
|||||||
@@ -82,6 +82,9 @@ typedef void * lv_user_data_t;
|
|||||||
/* Simulate VG-Lite hardware using ThorVG */
|
/* Simulate VG-Lite hardware using ThorVG */
|
||||||
#define LV_USE_VG_LITE_THORVG 1
|
#define LV_USE_VG_LITE_THORVG 1
|
||||||
|
|
||||||
|
/* Enable performance monitor log mode for build test */
|
||||||
|
#define LV_USE_PERF_MONITOR_LOG_MODE 1
|
||||||
|
|
||||||
#include "lv_test_conf_full.h"
|
#include "lv_test_conf_full.h"
|
||||||
#elif LV_TEST_OPTION == 4
|
#elif LV_TEST_OPTION == 4
|
||||||
#define LV_COLOR_DEPTH 24
|
#define LV_COLOR_DEPTH 24
|
||||||
|
|||||||
Reference in New Issue
Block a user