]> AND Public Git Repository - simgrid.git/blobdiff - src/surf/network_interface.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Useless static function.
[simgrid.git] / src / surf / network_interface.hpp
index 88f9351da88b7473016733a56cfe249f7007f4e9..debc9a022b25259429831cd99484e3f0060e9b73 100644 (file)
@@ -85,21 +85,10 @@ public:
    */
   virtual double get_bandwidth_factor(double /* size*/) { return sg_bandwidth_factor; }
 
-  /**
-   * @brief Get definitive bandwidth.
-   * @details It gives the minimum bandwidth between the one that would occur if no limitation was enforced, and the
-   * one arbitrary limited.
-   * @param rate The desired maximum bandwidth.
-   * @param bound The bandwidth with only the network taken into account.
-   * @param size The size of the message.
-   * @return The new bandwidth.
-   */
-  double get_bandwidth_constraint(double rate, double bound, double size);
-
   double next_occurring_event_full(double now) override;
 
-  virtual void set_lat_factor_cb(const std::function<NetworkFactorCb>& cb) override { THROW_UNIMPLEMENTED; }
-  virtual void set_bw_factor_cb(const std::function<NetworkFactorCb>& cb) override { THROW_UNIMPLEMENTED; }
+  void set_lat_factor_cb(const std::function<NetworkFactorCb>& cb) override { THROW_UNIMPLEMENTED; }
+  void set_bw_factor_cb(const std::function<NetworkFactorCb>& cb) override { THROW_UNIMPLEMENTED; }
 
   LinkImpl* loopback_ = nullptr;
 };