mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-05 16:26:14 +08:00
@@ -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