mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
c/multi: Improve frame timing printing a little bit
This commit is contained in:
parent
f2b8855e51
commit
b09aa79f4a
|
@ -202,7 +202,13 @@ wait_for_scheduled_free(struct multi_compositor *mc)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
U_LOG_D("next: %f (%" PRIu64 ")\nprogress: %f (%" PRIu64 ")\nscheduled: %f (%" PRIu64 ")\n",
|
U_LOG_D(
|
||||||
|
"Two frames have completed GPU work and are waiting to be displayed."
|
||||||
|
"\n\tnext frame: %fms (%" PRIu64
|
||||||
|
") (next time for compositor to pick up frame)"
|
||||||
|
"\n\tprogress: %fms (%" PRIu64
|
||||||
|
") (latest completed frame)"
|
||||||
|
"\n\tscheduled: %fms (%" PRIu64 ") (oldest waiting frame)",
|
||||||
time_ns_to_ms_f((int64_t)v_mc->slot_next_frame_display - now_ns), //
|
time_ns_to_ms_f((int64_t)v_mc->slot_next_frame_display - now_ns), //
|
||||||
v_mc->slot_next_frame_display, //
|
v_mc->slot_next_frame_display, //
|
||||||
time_ns_to_ms_f((int64_t)v_mc->progress.display_time_ns - now_ns), //
|
time_ns_to_ms_f((int64_t)v_mc->progress.display_time_ns - now_ns), //
|
||||||
|
|
Loading…
Reference in a new issue