更新cpr统计,以及解码时间间隔,速度检测跳过配置

This commit is contained in:
2026-07-15 12:27:43 +08:00
parent 9c29878bb9
commit 8bb155029b
5 changed files with 621 additions and 586 deletions
+3 -4
View File
@@ -98,12 +98,11 @@ Global::Global() {
f->add_msg_limit(mode_s_msg);
};
#endif
SSR::cpr_cb = [](SSR::CPR_Error_Type t, std::string_view log,
SSR::P_S msg) {
SSR::cpr_cb = [](SSR::CPR_Type t, SSR::CPR_Ret_Type err_type, std::string_view log, SSR::P_S msg) {
auto src = std::dynamic_pointer_cast<Data_Source>(msg->source);
Mode_S_Statistic_Data* ss = &src->mode_s_statistic;
ss->add_cpr_error(t);
SSR::mode_s_logger->debug("CPR/" + to_string(t), {}, log);
ss->add_cpr_error(t, err_type);
SSR::mode_s_logger->debug("CPR/" + to_string(t) + "/" + to_string(err_type), {}, log);
};
// 处理错误
SSR::parse_call_back =