Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
ns3: much more debug info, and restore the SetCloseCallbacks that is actually needed
[simgrid.git] / src / surf / network_ns3.cpp
index 9d43965..f8a827e 100644 (file)
@@ -232,6 +232,9 @@ void NetworkNS3Model::updateActionsState(double now, double delta)
       socket_to_destroy.push_back(ns3Socket);
       XBT_DEBUG("Destroy socket %p of action %p", ns3Socket.c_str(), action);
       action->finish(Action::State::done);
+    } else {
+      XBT_DEBUG("Socket %p sent %d bytes out of %d (%d remaining)", ns3Socket.c_str(), sgFlow->sentBytes_,
+                sgFlow->totalBytes_, sgFlow->remaining_);
     }
   }