X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e58f977bd5e969ee5f3a9fba96f0da48fad52e82..c7b4fbf9bd362ef98af378f5f87d437a7ffa28e8:/src/surf/network_interface.hpp diff --git a/src/surf/network_interface.hpp b/src/surf/network_interface.hpp index b184770935..994991b3d2 100644 --- a/src/surf/network_interface.hpp +++ b/src/surf/network_interface.hpp @@ -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;