Skip to content

Commit

Permalink
wayland: remove verbose commit timing logging
Browse files Browse the repository at this point in the history
  • Loading branch information
cmeissl committed Dec 14, 2024
1 parent c3f3ac8 commit 1777943
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 1777943

Please sign in to comment.