From 82f51e4208ff86c034f94bd99ff367301e2faa4f Mon Sep 17 00:00:00 2001 From: michele papalini Date: Fri, 20 Dec 2019 17:48:13 +0100 Subject: [HICN-466] expose rtt stats to appliaction in rtc transport Signed-off-by: michele papalini Change-Id: If7af2154f5054a475521bf84c8d455ad3058bbb9 --- libtransport/src/hicn/transport/protocols/rtc.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'libtransport/src/hicn') diff --git a/libtransport/src/hicn/transport/protocols/rtc.cc b/libtransport/src/hicn/transport/protocols/rtc.cc index fb09373b1..559e86592 100644 --- a/libtransport/src/hicn/transport/protocols/rtc.cc +++ b/libtransport/src/hicn/transport/protocols/rtc.cc @@ -283,6 +283,7 @@ void RTCTransportProtocol::updateStats(uint32_t round_duration) { // Send the stats to the app stats_.updateQueuingDelay(queuingDelay_); stats_.updateLossRatio(lossRate_); + stats_.updateAverageRtt(pathTable_[producerPathLabels_[1]]->getMinRtt()); (*stats_callback)(*socket_, stats_); } -- cgit 1.2.3-korg