Description:codex

Match-id-2fbbd55ad7440005b6dd1d63565f2964834dcfe4
This commit is contained in:
xxxx
2022-07-26 10:22:52 +08:00
parent dd8c389495
commit 7648202cfb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ namespace DistributedInput {
constexpr int32_t INPUT_LATENCY_DELAYTIME_US = 50 * 1000;
constexpr int32_t INPUT_LATENCY_DELAY_TIMES = 60;
constexpr uint32_t INPUT_LATENCY_DELAY_TIMES = 60;
constexpr int32_t SESSION_WAIT_TIMEOUT_SECOND = 5;
@@ -366,7 +366,7 @@ void DistributedInputSourceTransport::StartLatencyCount(const std::string& devic
DHLOGI("start");
while (isLatencyThreadRunning_.load()) {
if (sendNum_ >= INPUT_LATENCY_DELAY_TIMES) {
int32_t latency = deltaTimeAll_ / 2 / INPUT_LATENCY_DELAY_TIMES;
uint64_t latency = (uint64_t)(deltaTimeAll_ / 2 / INPUT_LATENCY_DELAY_TIMES);
DHLOGI("LatencyCount average single-channel latency is %d, send times is %d, recive times is %d,\
each RTT latency details is %s", latency, sendNum_, recvNum_, eachLatencyDetails_.c_str());
deltaTimeAll_ = 0;