mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
fix(sysmon): fix build error when LV_USE_PERF_MONITOR_LOG_MODE is enabled (#5597)
This commit is contained in:
parent
4f3c5e0355
commit
33260fba35
@ -216,10 +216,10 @@ static void perf_observer_cb(lv_observer_t * observer, lv_subject_t * subject)
|
|||||||
#if LV_USE_PERF_MONITOR_LOG_MODE
|
#if LV_USE_PERF_MONITOR_LOG_MODE
|
||||||
LV_UNUSED(label);
|
LV_UNUSED(label);
|
||||||
LV_LOG("sysmon: "
|
LV_LOG("sysmon: "
|
||||||
"%" LV_PRIu32 " FPS (refr_cnt: %" LV_PRIu32 " | redraw_cnt: %" LV_PRIu32 " | flush_cnt: %" LV_PRIu32 "), "
|
"%" LV_PRIu32 " FPS (refr_cnt: %" LV_PRIu32 " | redraw_cnt: %" LV_PRIu32"), "
|
||||||
"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->calculated.refr_avg_time, perf->calculated.render_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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user