1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2025-04-07 17:44:04 -04:00

add debug log for #1345

This commit is contained in:
Yuxuan Shui 2024-10-08 18:44:30 +01:00
parent b6314851d9
commit 6e485a050a
No known key found for this signature in database
GPG key ID: D3A4405BE6CC17F4

View file

@ -428,6 +428,8 @@ static void handle_present_complete_notify(struct present_vblank_scheduler *self
self->last_ust = cne->ust;
self->last_msc = cne->msc;
}
log_debug("Received PresentCompleteNotify event, %" PRIu64 " %" PRIu64 " %f",
cne->msc, cne->ust, ((double)cne->ust - (double)now_us) / 1000000.0);
double delay_sec = 0.0;
if (now_us < cne->ust) {
log_trace("The end of this vblank is %" PRIu64 " us into the "