Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
setter function only need a simcall in MC or with parallel execs
[simgrid.git] / src / surf / network_ib.hpp
index f130d1c9fde4a5d0115605f16507dd105399f662..915c0a7e3b194d936cb512fdf498f91f8384fdf6 100644 (file)
@@ -7,15 +7,13 @@
 #ifndef SURF_NETWORK_IB_HPP_
 #define SURF_NETWORK_IB_HPP_
 
-#include "src/surf/network_smpi.hpp"
+#include "src/surf/network_cm02.hpp"
 #include "xbt/base.h"
 
 #include <map>
 #include <vector>
 
-namespace simgrid {
-namespace kernel {
-namespace resource {
+namespace simgrid::kernel::resource {
 
 class XBT_PRIVATE IBNode;
 
@@ -37,7 +35,7 @@ public:
   explicit IBNode(int id) : id_(id){};
 };
 
-class XBT_PRIVATE NetworkIBModel : public NetworkSmpiModel {
+class XBT_PRIVATE NetworkIBModel : public NetworkCm02Model {
   std::unordered_map<std::string, IBNode> active_nodes;
   std::unordered_map<NetworkAction*, std::pair<IBNode*, IBNode*>> active_comms;
 
@@ -57,7 +55,5 @@ public:
   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
-} // namespace simgrid
+} // namespace simgrid::kernel::resource
 #endif