Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cosmetics
authorSUTER Frederic <frederic.suter@cc.in2p3.fr>
Tue, 6 Apr 2021 11:56:22 +0000 (13:56 +0200)
committerSUTER Frederic <frederic.suter@cc.in2p3.fr>
Tue, 6 Apr 2021 11:56:22 +0000 (13:56 +0200)
src/surf/network_interface.cpp
src/surf/network_interface.hpp

index 4ffd1df..6b13a68 100644 (file)
@@ -159,7 +159,7 @@ void LinkImpl::seal()
 {
   xbt_assert(this->get_model(), "Cannot seal Link(%s) without setting the Network model first", this->get_cname());
   Resource::seal();
-  simgrid::s4u::Link::on_creation(*get_iface());
+  s4u::Link::on_creation(*get_iface());
 }
 
 void LinkImpl::on_bandwidth_change() const
index e03a73d..256ff5d 100644 (file)
@@ -41,11 +41,10 @@ public:
   ~NetworkModel() override;
 
   /**
-   * @brief Create a Link
+   * @brief Create a [WiFi]Link
    *
    * @param name The name of the Link
-   * @param bandwidth The initial bandwidth of the Link in bytes per second
-   * @param policy The sharing policy of the Link
+   * @param bandwidths The vector of bandwidths of the Link in bytes per second
    */
   virtual LinkImpl* create_link(const std::string& name, const std::vector<double>& bandwidths) = 0;