diff options
author | Angelo Mantellini (manangel) <angelo.mantellini@irt-systemx.fr> | 2017-07-05 14:33:54 +0200 |
---|---|---|
committer | Angelo Mantellini (manangel) <angelo.mantellini@irt-systemx.fr> | 2017-07-05 14:33:54 +0200 |
commit | 9b3bcda476b050130d6ee4027fdf8977dfbf4fea (patch) | |
tree | 6e741511c0eb41497587cf4ec8bfe75d431fcd5a | |
parent | 9088fd24a81733fad18fcb476777d450f15a1218 (diff) |
correct issue for compiling viper
Change-Id: Ie805337f3febe671e6c0777cb6744a201b6cb083
Signed-off-by: Angelo Mantellini (manangel) <angelo.mantellini@irt-systemx.fr>
-rw-r--r-- | icnet/transport/icnet_transport_download_observer.h | 2 | ||||
-rw-r--r-- | icnet/transport/icnet_transport_rate_estimation.cc | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/icnet/transport/icnet_transport_download_observer.h b/icnet/transport/icnet_transport_download_observer.h index 4902f2d7..f53f3706 100644 --- a/icnet/transport/icnet_transport_download_observer.h +++ b/icnet/transport/icnet_transport_download_observer.h @@ -26,7 +26,7 @@ class IcnObserver { }; virtual void notifyStats(double throughput) = 0; - virtual void notifyDownloadTime(double downloadTime) = 0; + //virtual void notifyDownloadTime(double downloadTime) = 0; }; } // end namespace transport diff --git a/icnet/transport/icnet_transport_rate_estimation.cc b/icnet/transport/icnet_transport_rate_estimation.cc index e23b52bc..4c2d68c3 100644 --- a/icnet/transport/icnet_transport_rate_estimation.cc +++ b/icnet/transport/icnet_transport_rate_estimation.cc @@ -198,9 +198,9 @@ void SimpleEstimator::onDownloadFinished() { gettimeofday(&end, 0); double delay = RaaqmDataPath::getMicroSeconds(end) - RaaqmDataPath::getMicroSeconds(this->start_time_); - if(observer_) { - observer_->notifyDownloadTime(delay); - } + //if(observer_) { + // observer_->notifyDownloadTime(delay); + //} if (!this->estimated_) { //Assuming all packets carry max_packet_size_ bytes of data (8*max_packet_size_ bits); 1000000 factor to convert us to seconds if (this->estimation_) { |