Fix extra whitespace in latency feature added code

This commit is contained in:
Srivats P 2023-05-26 11:07:27 +05:30
parent f98c8af594
commit ca956c3c18
3 changed files with 3 additions and 3 deletions

View File

@ -813,7 +813,7 @@ int AbstractPort::updatePacketListInterleaved()
// XXX: TTag repeat interval calculation: // XXX: TTag repeat interval calculation:
// CASE 1. pktListDuration < kTtagTimeInterval: // CASE 1. pktListDuration < kTtagTimeInterval:
// e.g. if pktListDuration is 1sec and TtagTimerInterval is 5s, we // e.g. if pktListDuration is 1sec and TtagTimerInterval is 5s, we
// skip 5 times total packets before we repeat the markers // skip 5 times total packets before we repeat the markers
// CASE 2. pktListDuration > kTtagTimeInterval: // CASE 2. pktListDuration > kTtagTimeInterval:
// e.g. if pktListDuration is 7sec and TtagTimerInterval is 5s, we // e.g. if pktListDuration is 7sec and TtagTimerInterval is 5s, we
// skip repeat markers every pktList iteration // skip repeat markers every pktList iteration

View File

@ -303,7 +303,7 @@ void PcapTxThread::run()
packetSequenceList_.at(i)->ttagL4CksumOffset_); packetSequenceList_.at(i)->ttagL4CksumOffset_);
} }
qDebug() << "First Ttag: " << firstTtagPkt_ qDebug() << "First Ttag: " << firstTtagPkt_
<< "Ttag Markers:" << ttagDeltaMarkers_; << "Ttag Markers:" << ttagDeltaMarkers_;
lastStats_ = *stats_; // used for stream stats lastStats_ = *stats_; // used for stream stats

View File

@ -103,7 +103,7 @@ bool StreamTiming::recordRxTime(uint portId, uint guid, uint ttagId,
struct timespec ts; struct timespec ts;
ts.tv_sec = timestamp.tv_sec; ts.tv_sec = timestamp.tv_sec;
ts.tv_nsec = timestamp.tv_usec*1000; ts.tv_nsec = timestamp.tv_usec*1000;
return recordRxTime(portId, guid, ttagId, ts); return recordRxTime(portId, guid, ttagId, ts);
} }