mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-05 08:16:06 +08:00
reduce log spam (#20330)
* fix big spammers * my favorite test failure * remove that one * went down a bit more
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user