From f77250cc92d51207c9a052b9474be93f2e62c892 Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Fri, 8 Nov 2024 18:01:06 +0000 Subject: [PATCH] Use default Time() constructor when initializing 0 time --- .../three-gpp-v2v-channel-example.cc | 2 +- examples/tcp/dctcp-example.cc | 2 +- examples/tcp/tcp-bbr-example.cc | 2 +- examples/wireless/wifi-80211e-txop.cc | 2 +- .../wifi-power-adaptation-distance.cc | 2 +- .../wifi-power-adaptation-interference.cc | 2 +- examples/wireless/wifi-txop-aggregation.cc | 2 +- src/aodv/model/aodv-neighbor.cc | 2 +- src/aodv/model/aodv-routing-protocol.cc | 4 +-- src/applications/model/onoff-application.cc | 2 +- src/applications/model/seq-ts-echo-header.cc | 2 +- src/core/model/timer.cc | 4 +-- src/core/model/watchdog.cc | 2 +- src/dsdv/model/dsdv-packet-queue.h | 2 +- src/dsr/model/dsr-rreq-table.cc | 2 +- src/energy/model/generic-battery-model.cc | 2 +- src/energy/model/li-ion-energy-source.cc | 2 +- src/flow-monitor/model/flow-probe.h | 2 +- src/internet-apps/model/v4traceroute.cc | 2 +- src/internet/model/ndisc-cache.cc | 2 +- src/internet/model/tcp-bbr.h | 29 +++++++++---------- src/internet/model/tcp-option-ts.cc | 2 +- src/internet/model/tcp-rate-ops.h | 25 +++++++--------- src/internet/model/tcp-socket-base.h | 8 ++--- src/internet/test/tcp-pacing-test.cc | 8 ++--- src/internet/test/tcp-rate-ops-test.cc | 2 +- src/lte/examples/lena-radio-link-failure.cc | 8 ++--- src/lte/helper/no-backhaul-epc-helper.cc | 4 +-- src/lte/model/lte-enb-phy.cc | 2 +- src/lte/model/lte-rrc-protocol-ideal.cc | 2 +- src/lte/model/lte-rrc-protocol-real.cc | 2 +- src/lte/model/lte-ue-mac.cc | 2 +- src/lte/model/lte-ue-phy.cc | 2 +- src/lte/test/lte-test-cell-selection.cc | 2 +- src/lte/test/test-lte-handover-delay.cc | 4 +-- src/lte/test/test-lte-x2-handover-measures.cc | 2 +- src/lte/test/test-lte-x2-handover.cc | 2 +- src/mesh/model/dot11s/peer-link.cc | 4 +-- src/mesh/model/flame/flame-protocol.cc | 2 +- src/mobility/model/waypoint.cc | 2 +- src/netanim/model/animation-interface.cc | 4 +-- src/openflow/examples/openflow-switch.cc | 2 +- .../model/point-to-point-channel.cc | 2 +- .../model/single-model-spectrum-channel.cc | 2 +- src/spectrum/model/tv-spectrum-transmitter.cc | 2 +- src/spectrum/model/waveform-generator.cc | 2 +- src/stats/examples/time-probe-example.cc | 4 +-- src/test/ns3wifi/wifi-issue-211-test-suite.cc | 2 +- src/uan/model/uan-header-rc.cc | 8 ++--- src/uan/model/uan-mac-rc-gw.cc | 4 +-- src/uan/model/uan-mac-rc.cc | 2 +- src/uan/model/uan-prop-model.cc | 6 ++-- src/uan/model/uan-transducer-hd.cc | 2 +- src/wifi/examples/wifi-phy-test.cc | 2 +- .../examples/wifi-test-interference-helper.cc | 2 +- src/wifi/model/ampdu-tag.cc | 2 +- .../model/he/he-frame-exchange-manager.cc | 6 ++-- src/wifi/model/he/he-phy.cc | 2 +- src/wifi/model/he/he-ppdu.cc | 2 +- src/wifi/model/he/rr-multi-user-scheduler.cc | 6 ++-- .../rate-control/minstrel-wifi-manager.cc | 2 +- src/wifi/model/sta-wifi-mac.cc | 2 +- src/wifi/model/wifi-phy.cc | 12 ++++---- src/wifi/model/wifi-radio-energy-model.cc | 2 +- src/wifi/model/wifi-remote-station-info.cc | 2 +- src/wifi/model/wifi-tx-timer.cc | 2 +- src/wifi/test/tx-duration-test.cc | 2 +- src/wifi/test/wifi-mac-ofdma-test.cc | 2 +- src/wifi/test/wifi-phy-cca-test.cc | 2 +- src/wifi/test/wifi-phy-mu-mimo-test.cc | 2 +- src/wifi/test/wifi-phy-ofdma-test.cc | 2 +- src/wifi/test/wifi-primary-channels-test.cc | 2 +- src/wimax/model/bs-link-manager.cc | 2 +- src/wimax/model/bs-net-device.cc | 2 +- src/wimax/model/bs-uplink-scheduler.cc | 4 +-- src/wimax/model/service-flow-record.cc | 4 +-- src/wimax/model/simple-ofdm-wimax-channel.cc | 2 +- src/wimax/model/ss-link-manager.cc | 4 +-- src/wimax/model/ul-job.cc | 2 +- src/wimax/model/wimax-mac-queue.cc | 2 +- src/wimax/model/wimax-phy.cc | 4 +-- 81 files changed, 139 insertions(+), 143 deletions(-) diff --git a/examples/channel-models/three-gpp-v2v-channel-example.cc b/examples/channel-models/three-gpp-v2v-channel-example.cc index 2a2dee10a..0c211c683 100644 --- a/examples/channel-models/three-gpp-v2v-channel-example.cc +++ b/examples/channel-models/three-gpp-v2v-channel-example.cc @@ -254,7 +254,7 @@ main(int argc, char* argv[]) double vRx = vScatt / 2; txMob = CreateObject(); rxMob = CreateObject(); - Time nextWaypoint = Seconds(0.0); + Time nextWaypoint; txMob->GetObject()->AddWaypoint( Waypoint(nextWaypoint, Vector(maxAxisX / 2 - streetWidth / 2, 1.0, 1.5))); nextWaypoint += Seconds((maxAxisY - streetWidth) / 2 / vTx); diff --git a/examples/tcp/dctcp-example.cc b/examples/tcp/dctcp-example.cc index e8843ba46..f375a6d86 100644 --- a/examples/tcp/dctcp-example.cc +++ b/examples/tcp/dctcp-example.cc @@ -287,7 +287,7 @@ main(int argc, char* argv[]) Config::SetDefault("ns3::TcpL4Protocol::SocketType", StringValue("ns3::" + tcpTypeId)); - Time startTime = Seconds(0); + Time startTime{0}; Time stopTime = flowStartupWindow + convergenceTime + measurementWindow; rxS1R1Bytes.reserve(10); diff --git a/examples/tcp/tcp-bbr-example.cc b/examples/tcp/tcp-bbr-example.cc index 52d655691..9f4e560ad 100644 --- a/examples/tcp/tcp-bbr-example.cc +++ b/examples/tcp/tcp-bbr-example.cc @@ -59,7 +59,7 @@ std::ofstream throughput; std::ofstream queueSize; uint32_t prev = 0; -Time prevTime = Seconds(0); +Time prevTime; // Calculate throughput static void diff --git a/examples/wireless/wifi-80211e-txop.cc b/examples/wireless/wifi-80211e-txop.cc index 4dd09877f..4fb46613b 100644 --- a/examples/wireless/wifi-80211e-txop.cc +++ b/examples/wireless/wifi-80211e-txop.cc @@ -68,7 +68,7 @@ struct TxopDurationTracer * \param linkId the ID of the link */ void Trace(Time startTime, Time duration, uint8_t linkId); - Time m_max{Seconds(0)}; //!< maximum TXOP duration + Time m_max; //!< maximum TXOP duration }; void diff --git a/examples/wireless/wifi-power-adaptation-distance.cc b/examples/wireless/wifi-power-adaptation-distance.cc index f0da9a720..0a26e8a6a 100644 --- a/examples/wireless/wifi-power-adaptation-distance.cc +++ b/examples/wireless/wifi-power-adaptation-distance.cc @@ -260,7 +260,7 @@ NodeStatistics::GetCalcTxTime(DataRate rate) } } NS_ASSERT(false); - return Seconds(0); + return Time(0); } void diff --git a/examples/wireless/wifi-power-adaptation-interference.cc b/examples/wireless/wifi-power-adaptation-interference.cc index b18cb6081..59570e693 100644 --- a/examples/wireless/wifi-power-adaptation-interference.cc +++ b/examples/wireless/wifi-power-adaptation-interference.cc @@ -281,7 +281,7 @@ NodeStatistics::GetCalcTxTime(DataRate rate) } } NS_ASSERT(false); - return Seconds(0); + return Time(0); } void diff --git a/examples/wireless/wifi-txop-aggregation.cc b/examples/wireless/wifi-txop-aggregation.cc index e0807cfa5..9f72e6807 100644 --- a/examples/wireless/wifi-txop-aggregation.cc +++ b/examples/wireless/wifi-txop-aggregation.cc @@ -82,7 +82,7 @@ struct TxopDurationTracer * \param linkId the ID of the link */ void Trace(Time startTime, Time duration, uint8_t linkId); - Time m_max{Seconds(0)}; //!< maximum TXOP duration + Time m_max; //!< maximum TXOP duration }; void diff --git a/src/aodv/model/aodv-neighbor.cc b/src/aodv/model/aodv-neighbor.cc index 4941f379c..ba9139ebe 100644 --- a/src/aodv/model/aodv-neighbor.cc +++ b/src/aodv/model/aodv-neighbor.cc @@ -61,7 +61,7 @@ Neighbors::GetExpireTime(Ipv4Address addr) return (i->m_expireTime - Simulator::Now()); } } - return Seconds(0); + return Time(0); } void diff --git a/src/aodv/model/aodv-routing-protocol.cc b/src/aodv/model/aodv-routing-protocol.cc index 4633ec53c..dc3155f75 100644 --- a/src/aodv/model/aodv-routing-protocol.cc +++ b/src/aodv/model/aodv-routing-protocol.cc @@ -167,7 +167,7 @@ RoutingProtocol::RoutingProtocol() m_htimer(Timer::CANCEL_ON_DESTROY), m_rreqRateLimitTimer(Timer::CANCEL_ON_DESTROY), m_rerrRateLimitTimer(Timer::CANCEL_ON_DESTROY), - m_lastBcastTime(Seconds(0)) + m_lastBcastTime() { m_nb.SetCallback(MakeCallback(&RoutingProtocol::SendRerrWhenBreaksLinkToNextHop, this)); } @@ -1930,7 +1930,7 @@ void RoutingProtocol::HelloTimerExpire() { NS_LOG_FUNCTION(this); - Time offset = Time(Seconds(0)); + Time offset; if (m_lastBcastTime.IsStrictlyPositive()) { offset = Simulator::Now() - m_lastBcastTime; diff --git a/src/applications/model/onoff-application.cc b/src/applications/model/onoff-application.cc index e42891552..90675355f 100644 --- a/src/applications/model/onoff-application.cc +++ b/src/applications/model/onoff-application.cc @@ -104,7 +104,7 @@ OnOffApplication::OnOffApplication() : m_socket(nullptr), m_connected(false), m_residualBits(0), - m_lastStartTime(Seconds(0)), + m_lastStartTime(), m_totBytes(0), m_unsentPacket(nullptr) { diff --git a/src/applications/model/seq-ts-echo-header.cc b/src/applications/model/seq-ts-echo-header.cc index 657f35007..0b869a4ca 100644 --- a/src/applications/model/seq-ts-echo-header.cc +++ b/src/applications/model/seq-ts-echo-header.cc @@ -24,7 +24,7 @@ NS_OBJECT_ENSURE_REGISTERED(SeqTsEchoHeader); SeqTsEchoHeader::SeqTsEchoHeader() : m_seq(0), m_tsValue(Simulator::Now()), - m_tsEchoReply(Seconds(0)) + m_tsEchoReply() { NS_LOG_FUNCTION(this); } diff --git a/src/core/model/timer.cc b/src/core/model/timer.cc index 7186ccfdf..5726dc3e0 100644 --- a/src/core/model/timer.cc +++ b/src/core/model/timer.cc @@ -24,7 +24,7 @@ NS_LOG_COMPONENT_DEFINE("Timer"); Timer::Timer() : m_flags(CHECK_ON_DESTROY), - m_delay(FemtoSeconds(0)), + m_delay(), m_event(), m_impl(nullptr) { @@ -33,7 +33,7 @@ Timer::Timer() Timer::Timer(DestroyPolicy destroyPolicy) : m_flags(destroyPolicy), - m_delay(FemtoSeconds(0)), + m_delay(), m_event(), m_impl(nullptr) { diff --git a/src/core/model/watchdog.cc b/src/core/model/watchdog.cc index 382078cf6..092e0b675 100644 --- a/src/core/model/watchdog.cc +++ b/src/core/model/watchdog.cc @@ -23,7 +23,7 @@ NS_LOG_COMPONENT_DEFINE("Watchdog"); Watchdog::Watchdog() : m_impl(nullptr), m_event(), - m_end(MicroSeconds(0)) + m_end() { NS_LOG_FUNCTION_NOARGS(); } diff --git a/src/dsdv/model/dsdv-packet-queue.h b/src/dsdv/model/dsdv-packet-queue.h index e24a0922f..84cc93220 100644 --- a/src/dsdv/model/dsdv-packet-queue.h +++ b/src/dsdv/model/dsdv-packet-queue.h @@ -57,7 +57,7 @@ class QueueEntry m_header(h), m_ucb(ucb), m_ecb(ecb), - m_expire(Seconds(0)) + m_expire() { } diff --git a/src/dsr/model/dsr-rreq-table.cc b/src/dsr/model/dsr-rreq-table.cc index 482ea6626..4258a6f7a 100644 --- a/src/dsr/model/dsr-rreq-table.cc +++ b/src/dsr/model/dsr-rreq-table.cc @@ -59,7 +59,7 @@ DsrRreqTable::RemoveLeastExpire() { NS_LOG_FUNCTION(this); Ipv4Address firstExpire; - Time max = Seconds(0.0); + Time max; for (auto i = m_rreqDstMap.begin(); i != m_rreqDstMap.end(); ++i) { Ipv4Address dst = i->first; diff --git a/src/energy/model/generic-battery-model.cc b/src/energy/model/generic-battery-model.cc index 0c7fe3bb7..5d7014df9 100644 --- a/src/energy/model/generic-battery-model.cc +++ b/src/energy/model/generic-battery-model.cc @@ -114,7 +114,7 @@ GenericBatteryModel::GenericBatteryModel() m_currentFiltered(0), m_entn(0), m_expZone(0), - m_lastUpdateTime(Seconds(0.0)) + m_lastUpdateTime() { NS_LOG_FUNCTION(this); } diff --git a/src/energy/model/li-ion-energy-source.cc b/src/energy/model/li-ion-energy-source.cc index 27c69fe7d..8cc7f952f 100644 --- a/src/energy/model/li-ion-energy-source.cc +++ b/src/energy/model/li-ion-energy-source.cc @@ -105,7 +105,7 @@ LiIonEnergySource::GetTypeId() LiIonEnergySource::LiIonEnergySource() : m_drainedCapacity(0.0), - m_lastUpdateTime(Seconds(0.0)) + m_lastUpdateTime() { NS_LOG_FUNCTION(this); } diff --git a/src/flow-monitor/model/flow-probe.h b/src/flow-monitor/model/flow-probe.h index 5a5313648..26eb6eb1d 100644 --- a/src/flow-monitor/model/flow-probe.h +++ b/src/flow-monitor/model/flow-probe.h @@ -49,7 +49,7 @@ class FlowProbe : public Object struct FlowStats { FlowStats() - : delayFromFirstProbeSum(Seconds(0)), + : delayFromFirstProbeSum(), bytes(0), packets(0) { diff --git a/src/internet-apps/model/v4traceroute.cc b/src/internet-apps/model/v4traceroute.cc index e33ec29bb..875e517be 100644 --- a/src/internet-apps/model/v4traceroute.cc +++ b/src/internet-apps/model/v4traceroute.cc @@ -85,7 +85,7 @@ V4TraceRoute::GetTypeId() } V4TraceRoute::V4TraceRoute() - : m_interval(Seconds(0)), + : m_interval(), m_size(56), m_socket(nullptr), m_seq(0), diff --git a/src/internet/model/ndisc-cache.cc b/src/internet/model/ndisc-cache.cc index db3723018..3b8473c62 100644 --- a/src/internet/model/ndisc-cache.cc +++ b/src/internet/model/ndisc-cache.cc @@ -237,7 +237,7 @@ NdiscCache::Entry::Entry(NdiscCache* nd) m_waiting(), m_router(false), m_nudTimer(Timer::CANCEL_ON_DESTROY), - m_lastReachabilityConfirmation(Seconds(0.0)), + m_lastReachabilityConfirmation(), m_nsRetransmit(0) { NS_LOG_FUNCTION(this); diff --git a/src/internet/model/tcp-bbr.h b/src/internet/model/tcp-bbr.h index 2d629a4e8..8f23acbad 100644 --- a/src/internet/model/tcp-bbr.h +++ b/src/internet/model/tcp-bbr.h @@ -352,13 +352,13 @@ class TcpBbr : public TcpCongestionOps uint32_t m_nextRoundDelivered{0}; //!< Denotes the end of a packet-timed round trip Time m_probeRttDuration{MilliSeconds(200)}; //!< A constant specifying the minimum duration for //!< which ProbeRTT state, default 200 millisecs - Time m_probeRtPropStamp{ - Seconds(0)}; //!< The wall clock time at which the current BBR.RTProp sample was obtained. - Time m_probeRttDoneStamp{Seconds(0)}; //!< Time to exit from BBR_PROBE_RTT state - bool m_probeRttRoundDone{false}; //!< True when it is time to exit BBR_PROBE_RTT - bool m_packetConservation{false}; //!< Enable/Disable packet conservation mode - uint32_t m_priorCwnd{0}; //!< The last-known good congestion window - bool m_idleRestart{false}; //!< When restarting from idle, set it true + Time m_probeRtPropStamp; //!< The wall clock time at which the current BBR.RTProp sample was + //!< obtained. + Time m_probeRttDoneStamp; //!< Time to exit from BBR_PROBE_RTT state + bool m_probeRttRoundDone{false}; //!< True when it is time to exit BBR_PROBE_RTT + bool m_packetConservation{false}; //!< Enable/Disable packet conservation mode + uint32_t m_priorCwnd{0}; //!< The last-known good congestion window + bool m_idleRestart{false}; //!< When restarting from idle, set it true uint32_t m_targetCWnd{0}; //!< Target value for congestion window, adapted to the estimated BDP DataRate m_fullBandwidth{0}; //!< Value of full bandwidth recorded uint32_t m_fullBandwidthCount{0}; //!< Count of full bandwidth recorded consistently @@ -366,14 +366,13 @@ class TcpBbr : public TcpCongestionOps Time::Max()}; //!< Estimated two-way round-trip propagation delay of the path, estimated //!< from the windowed minimum recent round-trip delay sample. uint32_t m_sendQuantum{ - 0}; //!< The maximum size of a data aggregate scheduled and transmitted together - Time m_cycleStamp{Seconds(0)}; //!< Last time gain cycle updated + 0}; //!< The maximum size of a data aggregate scheduled and transmitted together + Time m_cycleStamp; //!< Last time gain cycle updated uint32_t m_cycleIndex{0}; //!< Current index of gain cycle bool m_minRttExpired{false}; //!< A boolean recording whether the BBR.RTprop has expired Time m_minRttFilterLen{Seconds(10)}; //!< A constant specifying the length of the RTProp min //!< filter window, default 10 secs. - Time m_minRttStamp{ - Seconds(0)}; //!< The wall clock time at which the current BBR.RTProp sample was obtained + Time m_minRttStamp; //!< The wall clock time at which the current BBR.RTProp sample was obtained bool m_isInitialized{false}; //!< Set to true after first time initialization variables Ptr m_uv{nullptr}; //!< Uniform Random Variable uint64_t m_delivered{0}; //!< The total amount of data in bytes delivered so far @@ -385,10 +384,10 @@ class TcpBbr : public TcpCongestionOps uint32_t m_extraAckedWinRttLength{5}; //!< Window length of extra acked window uint32_t m_ackEpochAckedResetThresh{ 1 << 17}; //!< Max allowed val for m_ackEpochAcked, after which sampling epoch is reset - uint32_t m_extraAckedIdx{0}; //!< Current index in extra acked array - Time m_ackEpochTime{Seconds(0)}; //!< Starting of ACK sampling epoch time - uint32_t m_ackEpochAcked{0}; //!< Bytes ACked in sampling epoch - bool m_hasSeenRtt{false}; //!< Have we seen RTT sample yet? + uint32_t m_extraAckedIdx{0}; //!< Current index in extra acked array + Time m_ackEpochTime; //!< Starting of ACK sampling epoch time + uint32_t m_ackEpochAcked{0}; //!< Bytes ACked in sampling epoch + bool m_hasSeenRtt{false}; //!< Have we seen RTT sample yet? double m_pacingMargin{0.01}; //!< BBR intentionally reduces the pacing rate by 1% to drain any //!< standing queues. See `bbr_rate_bytes_per_sec` in Linux. }; diff --git a/src/internet/model/tcp-option-ts.cc b/src/internet/model/tcp-option-ts.cc index a2bd732f0..a99b8b268 100644 --- a/src/internet/model/tcp-option-ts.cc +++ b/src/internet/model/tcp-option-ts.cc @@ -135,7 +135,7 @@ TcpOptionTS::ElapsedTimeFromTsValue(uint32_t echoTime) uint64_t now64 = (uint64_t)Simulator::Now().GetMilliSeconds(); uint32_t now32 = now64 & 0xFFFFFFFF; - Time ret = Seconds(0.0); + Time ret; if (now32 > echoTime) { ret = MilliSeconds(now32 - echoTime); diff --git a/src/internet/model/tcp-rate-ops.h b/src/internet/model/tcp-rate-ops.h index fce2f0f6c..6a5ebf7fc 100644 --- a/src/internet/model/tcp-rate-ops.h +++ b/src/internet/model/tcp-rate-ops.h @@ -128,16 +128,14 @@ class TcpRateOps : public Object struct TcpRateSample { DataRate m_deliveryRate{DataRate("0bps")}; //!< The delivery rate sample - bool m_isAppLimited{false}; //!< Indicates whether the rate sample is application-limited - Time m_interval{Seconds(0.0)}; //!< The length of the sampling interval + bool m_isAppLimited{false}; //!< Indicates whether the rate sample is application-limited + Time m_interval; //!< The length of the sampling interval int32_t m_delivered{ 0}; //!< The amount of data marked as delivered over the sampling interval - uint32_t m_priorDelivered{0}; //!< The delivered count of the most recent packet delivered - Time m_priorTime{Seconds(0.0)}; //!< The delivered time of the most recent packet delivered - Time m_sendElapsed{ - Seconds(0.0)}; //!< Send time interval calculated from the most recent packet delivered - Time m_ackElapsed{ - Seconds(0.0)}; //!< ACK time interval calculated from the most recent packet delivered + uint32_t m_priorDelivered{0}; //!< The delivered count of the most recent packet delivered + Time m_priorTime; //!< The delivered time of the most recent packet delivered + Time m_sendElapsed; //!< Send time interval calculated from the most recent packet delivered + Time m_ackElapsed; //!< ACK time interval calculated from the most recent packet delivered uint32_t m_bytesLoss{ 0}; //!< The amount of data marked as lost from the most recent ack received uint32_t m_priorInFlight{0}; //!< The value if bytes in flight prior to last received ack @@ -161,17 +159,16 @@ class TcpRateOps : public Object */ struct TcpRateConnection { - uint64_t m_delivered{0}; //!< The total amount of data in bytes delivered so far - Time m_deliveredTime{Seconds(0)}; //!< Simulator time when m_delivered was last updated - Time m_firstSentTime{ - Seconds(0)}; //!< The send time of the packet that was most recently marked as delivered + uint64_t m_delivered{0}; //!< The total amount of data in bytes delivered so far + Time m_deliveredTime; //!< Simulator time when m_delivered was last updated + Time m_firstSentTime; //!< The send time of the packet that was most recently marked as + //!< delivered uint32_t m_appLimited{ 0}; //!< The index of the last transmitted packet marked as application-limited uint32_t m_txItemDelivered{0}; //!< The value of delivered when the acked item was sent int32_t m_rateDelivered{ 0}; //!< The amount of data delivered considered to calculate delivery rate. - Time m_rateInterval{ - Seconds(0)}; //!< The value of interval considered to calculate delivery rate. + Time m_rateInterval; //!< The value of interval considered to calculate delivery rate. bool m_rateAppLimited{false}; //!< Was sample was taken when data is app limited? }; }; diff --git a/src/internet/model/tcp-socket-base.h b/src/internet/model/tcp-socket-base.h index c25b6b9b3..1341a1651 100644 --- a/src/internet/model/tcp-socket-base.h +++ b/src/internet/model/tcp-socket-base.h @@ -1365,12 +1365,12 @@ class TcpSocketBase : public TcpSocket uint32_t m_dataRetries{0}; //!< Number of data retransmission attempts // Timeouts - TracedValue