dont print slow frame on pc

old-commit-hash: 7054a9d237
commatwo_master
Willem Melching 4 years ago
parent 0aa14e0b72
commit 8aa18de0b7
  1. 2
      selfdrive/ui/qt/home.cc

@ -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;
}

Loading…
Cancel
Save