Skip to content

Commit

Permalink
wayland: remove verbose commit timing logging (#1613)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmeissl authored Dec 14, 2024
1 parent eb87eef commit 156dc3f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/wayland/commit_timing/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -377,21 +377,17 @@ impl CommitTimerBarrierState {
/// Returns `true` if a barrier has been signaled, false otherwise
pub fn signal_until(&mut self, deadline: impl Into<Timestamp>) -> bool {
let deadline = deadline.into();
tracing::info!(?deadline, "signal_until");

let num_barriers = self.barriers.len();
loop {
let Some(barrier) = self.barriers.peek() else {
tracing::info!(?deadline, "no barriers");
break;
};

if barrier.timestamp > deadline {
tracing::info!(?barrier, ?deadline, "barrier after until");
break;
}

tracing::info!(?barrier, "signaling barrier");
barrier.barrier.signal();
let _ = self.barriers.pop();
}
Expand Down

0 comments on commit 156dc3f

Please sign in to comment.