A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make an As::onRouteCreation signal so that NS3 does not need getOneLinkRoutes afterward
[simgrid.git]
/
src
/
surf
/
network_ib.hpp
diff --git
a/src/surf/network_ib.hpp
b/src/surf/network_ib.hpp
index
b8357fb
..
8d1103e
100644
(file)
--- a/
src/surf/network_ib.hpp
+++ b/
src/surf/network_ib.hpp
@@
-22,7
+22,7
@@
namespace simgrid {
IBNode* destination;
NetworkAction *action;
double init_rate;
IBNode* destination;
NetworkAction *action;
double init_rate;
- ActiveComm() : destination(
NULL),action(NULL
),init_rate(-1){};
+ ActiveComm() : destination(
nullptr),action(nullptr
),init_rate(-1){};
~ActiveComm(){};
};
~ActiveComm(){};
};
@@
-35,7
+35,7
@@
namespace simgrid {
std::map<IBNode*, int> ActiveCommsDown;
//number of comms the node is receiving
int nbActiveCommsDown;
std::map<IBNode*, int> ActiveCommsDown;
//number of comms the node is receiving
int nbActiveCommsDown;
- IBNode(int id) : id(id),nbActiveCommsDown(0){};
+
explicit
IBNode(int id) : id(id),nbActiveCommsDown(0){};
~IBNode(){};
};
~IBNode(){};
};
@@
-45,8
+45,8
@@
namespace simgrid {
void computeIBfactors(IBNode *root);
public:
NetworkIBModel();
void computeIBfactors(IBNode *root);
public:
NetworkIBModel();
- NetworkIBModel(const char *name);
- ~NetworkIBModel();
+
explicit
NetworkIBModel(const char *name);
+ ~NetworkIBModel()
override
;
void updateIBfactors(NetworkAction *action, IBNode *from, IBNode * to, int remove);
xbt_dict_t active_nodes;
void updateIBfactors(NetworkAction *action, IBNode *from, IBNode * to, int remove);
xbt_dict_t active_nodes;