mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-04 15:56:08 +08:00
dont print slow frame on pc
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