Skip to content

Commit

Permalink
refactor: 添加debug日志对原始frametime的记录
Browse files Browse the repository at this point in the history
  • Loading branch information
shadow3aaa committed Nov 11, 2024
1 parent 9369a72 commit 5cda1f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/framework/scheduler/looper/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ impl Looper {
}

if let Some(data) = fas_data {
#[cfg(debug_assertions)]
debug!("original frametime: {:?}", data.frametime);
if let Some(state) = self.buffer_update(&data) {
match state {
BufferWorkingState::Usable => self.do_policy(),
Expand Down

0 comments on commit 5cda1f4

Please sign in to comment.