Skip to content

Commit

Permalink
add debug log for #1345
Browse files Browse the repository at this point in the history
  • Loading branch information
yshui committed Oct 8, 2024
1 parent b631485 commit 6e485a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/vblank.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down

0 comments on commit 6e485a0

Please sign in to comment.