Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Extend Link interface in order to handle links with multiple bandwidths.
[simgrid.git] / src / surf / network_interface.hpp
index 79103fd..e0cb080 100644 (file)
@@ -160,6 +160,8 @@ public:
   Metric latency_                   = {1.0, 0, nullptr};
   Metric bandwidth_                 = {1.0, 0, nullptr};
 
+  /** @brief A link can have several bandwith attach to it (mostly use by wifi model) */
+  std::vector<Metric> bandwidths_;
 };
 
 /**********