reduce log spam (#20330)

* fix big spammers

* my favorite test failure

* remove that one

* went down a bit more
This commit is contained in:
Adeeb Shihadeh
2021-03-12 11:45:29 -08:00
committed by GitHub
parent d023397ba9
commit 90795fc773
4 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ void run_model(DMonitoringModelState &model, VisionIpcClient &vipc_client) {
// send dm packet
dmonitoring_publish(pm, extra.frame_id, res, (t2 - t1) / 1000.0, model.output);
LOGD("dmonitoring process: %.2fms, from last %.2fms", t2 - t1, t1 - last);
//printf("dmonitoring process: %.2fms, from last %.2fms\n", t2 - t1, t1 - last);
last = t1;
}
}
+1 -1
View File
@@ -122,7 +122,7 @@ void run_model(ModelState &model, VisionIpcClient &vipc_client) {
kj::ArrayPtr<const float>(model.output.data(), model.output.size()));
posenet_publish(pm, extra.frame_id, vipc_dropped_frames, model_buf, extra.timestamp_eof);
LOGD("model process: %.2fms, from last %.2fms, vipc_frame_id %u, frame_id, %u, frame_drop %.3f", mt2 - mt1, mt1 - last, extra.frame_id, frame_id, frame_drop_ratio);
//printf("model process: %.2fms, from last %.2fms, vipc_frame_id %u, frame_id, %u, frame_drop %.3f\n", mt2 - mt1, mt1 - last, extra.frame_id, frame_id, frame_drop_ratio);
last = mt1;
last_vipc_frame_id = extra.frame_id;
}