Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix NS3 and latency bound tracking
[simgrid.git] / src / surf / network_interface.hpp
index b184770..994991b 100644 (file)
@@ -293,6 +293,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;