diff --git a/scheduler/schedule.cpp b/scheduler/schedule.cpp index bfb14fb..bd5b848 100644 --- a/scheduler/schedule.cpp +++ b/scheduler/schedule.cpp @@ -211,19 +211,19 @@ long SensorScheduler::CalcNextTimestamp(int id) { } if (send_wave_ts > 0 && available_ts > 0) { long min_ts = std::min(send_wave_ts, available_ts); - zlog_debug(zct, "[%d] will use nearest time:%s", id, GetUTCTime(min_ts).c_str()); + zlog_debug(zct, "[%d] next feature send utc time1:%s", id, GetUTCTime(min_ts).c_str()); return min_ts; } if (send_wave_ts + available_ts > 0) { long max_ts = std::max(send_wave_ts, available_ts); - zlog_debug(zct, "[%d] will use vaild time:%s", id, GetUTCTime(max_ts).c_str()); + zlog_debug(zct, "[%d] next feature send utc time2:%s", id, GetUTCTime(max_ts).c_str()); return max_ts; } } // 如果是在当前波形时间窗中,不管是空闲时间窗,还是发送波形的时间窗,下一个时间窗是特征值 long available_ts = current_wave_start_ts_ + (nth_eigen_value_slice_ + 1)* eigen_value_send_interval_ + (id - 1) * eigen_value_send_duration_; - zlog_debug(zct, "[%d] next feature send utc time:[%s]", id, GetUTCTime(available_ts).c_str()); + zlog_debug(zct, "[%d] next feature send utc time3:[%s]", id, GetUTCTime(available_ts).c_str()); return available_ts; }