mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-19 08:12:07 +08:00
dont print slow frame on pc
old-commit-hash: 7054a9d2371a5a71da10f87a8babfd7db1a560d1
This commit is contained in:
@@ -278,7 +278,9 @@ void GLWindow::paintGL() {
|
||||
double dt = cur_draw_t - prev_draw_t;
|
||||
if (dt > 66 && onroad){
|
||||
// warn on sub 15fps
|
||||
#ifdef QCOM2
|
||||
LOGW("slow frame(%llu) time: %.2f", ui_state.sm->frame, dt);
|
||||
#endif
|
||||
}
|
||||
prev_draw_t = cur_draw_t;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user