dont print slow frame on pc

old-commit-hash: 7054a9d2371a5a71da10f87a8babfd7db1a560d1
This commit is contained in:
Willem Melching
2021-02-09 16:29:05 +01:00
parent 0aa14e0b72
commit 8aa18de0b7
+2
View File
@@ -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;
}