should be seconds

pull/2592/head
Adeeb Shihadeh 5 years ago
parent 27fefb9f60
commit 85c9a71bc9
  1. 2
      selfdrive/modeld/dmonitoringmodeld.cc

@ -65,7 +65,7 @@ int main(int argc, char **argv) {
double t2 = millis_since_boot();
// send dm packet
dmonitoring_publish(pm, extra.frame_id, res, t2-t1);
dmonitoring_publish(pm, extra.frame_id, res, (t2-t1)/1000.0);
LOGD("dmonitoring process: %.2fms, from last %.2fms", t2-t1, t1-last);
last = t1;

Loading…
Cancel
Save