X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0facf52013684615c801816de974754778c9474a..67d66b0cf79b9fc02c0450f254584693dbf21d3b:/src/surf/network_ib.hpp diff --git a/src/surf/network_ib.hpp b/src/surf/network_ib.hpp index ad0185d4e3..fed1a65a21 100644 --- a/src/surf/network_ib.hpp +++ b/src/surf/network_ib.hpp @@ -38,6 +38,9 @@ public: }; class XBT_PRIVATE NetworkIBModel : public NetworkSmpiModel { + std::unordered_map active_nodes; + std::unordered_map> active_comms; + double Bs_; double Be_; double ys_; @@ -50,8 +53,9 @@ public: NetworkIBModel& operator=(const NetworkIBModel&) = delete; void update_IB_factors(NetworkAction* action, IBNode* from, IBNode* to, int remove) const; - std::unordered_map active_nodes; - std::unordered_map> active_comms; + static void IB_create_host_callback(s4u::Host const& host); + static void IB_action_state_changed_callback(NetworkAction& action, Action::State /*previous*/); + static void IB_comm_start_callback(const activity::CommImpl& comm); }; } // namespace resource } // namespace kernel