correct issue for compiling viper 20/7420/1
authorAngelo Mantellini (manangel) <[email protected]>
Wed, 5 Jul 2017 12:33:54 +0000 (14:33 +0200)
committerAngelo Mantellini (manangel) <[email protected]>
Wed, 5 Jul 2017 12:33:54 +0000 (14:33 +0200)
Change-Id: Ie805337f3febe671e6c0777cb6744a201b6cb083
Signed-off-by: Angelo Mantellini (manangel) <[email protected]>
icnet/transport/icnet_transport_download_observer.h
icnet/transport/icnet_transport_rate_estimation.cc

index 4902f2d..f53f370 100644 (file)
@@ -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
index e23b52b..4c2d68c 100644 (file)
@@ -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_) {