Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add "attach" attribute to storage tag in platform description
[simgrid.git] / src / surf / network_interface.hpp
index b184770..8988357 100644 (file)
@@ -133,17 +133,6 @@ public:
   virtual ActionPtr communicate(RoutingEdgePtr src, RoutingEdgePtr dst,
                                           double size, double rate)=0;
 
-  /**
-   * @brief Get the route between two RoutingEdge
-   * @details [TODO]
-   * 
-   * @param src [TODO]
-   * @param dst [TODO]
-   * 
-   * @return A xbt_dynar_t of [TODO]
-   */
-  virtual xbt_dynar_t getRoute(RoutingEdgePtr src, RoutingEdgePtr dst); //FIXME: kill field? That is done by the routing nowadays
-
   /**
    * @brief Function pointer to the function to use to solve the lmm_system_t
    * 
@@ -293,6 +282,15 @@ public:
 
   void setState(e_surf_action_state_t state);
 
+#ifdef HAVE_LATENCY_BOUND_TRACKING
+  /**
+   * @brief Check if the action is limited by latency.
+   *
+   * @return 1 if action is limited by latency, 0 otherwise
+   */
+  virtual int getLatencyLimited() {return m_latencyLimited;}
+#endif
+
   double m_latency;
   double m_latCurrent;
   double m_weight;