diff --git a/selfdrive/ui/qt/home.cc b/selfdrive/ui/qt/home.cc index fa89fb6d0a..79b084f5fc 100644 --- a/selfdrive/ui/qt/home.cc +++ b/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; }