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
convert getCname to get_cname
[simgrid.git]
/
src
/
surf
/
network_ib.cpp
diff --git
a/src/surf/network_ib.cpp
b/src/surf/network_ib.cpp
index
7d2ecbf
..
24258c5
100644
(file)
--- a/
src/surf/network_ib.cpp
+++ b/
src/surf/network_ib.cpp
@@
-26,7
+26,7
@@
static void IB_create_host_callback(simgrid::s4u::Host& host){
IBNode* act = new IBNode(id);
id++;
IBNode* act = new IBNode(id);
id++;
- ((NetworkIBModel*)surf_network_model)->active_nodes.insert({host.get
N
ame(), act});
+ ((NetworkIBModel*)surf_network_model)->active_nodes.insert({host.get
_n
ame(), act});
}
static void IB_action_state_changed_callback(simgrid::surf::NetworkAction* action)
}
static void IB_action_state_changed_callback(simgrid::surf::NetworkAction* action)
@@
-52,18
+52,18
@@
static void IB_action_init_callback(simgrid::surf::NetworkAction* action, simgri
simgrid::surf::IBNode* act_src;
simgrid::surf::IBNode* act_dst;
simgrid::surf::IBNode* act_src;
simgrid::surf::IBNode* act_dst;
- auto asrc = ibModel->active_nodes.find(src->get
N
ame());
+ auto asrc = ibModel->active_nodes.find(src->get
_n
ame());
if (asrc != ibModel->active_nodes.end()) {
act_src = asrc->second;
} else {
if (asrc != ibModel->active_nodes.end()) {
act_src = asrc->second;
} else {
- throw std::out_of_range(std::string("Could not find '") + src->get
C
name() + "' active comms !");
+ throw std::out_of_range(std::string("Could not find '") + src->get
_c
name() + "' active comms !");
}
}
- auto adst = ibModel->active_nodes.find(dst->get
N
ame());
+ auto adst = ibModel->active_nodes.find(dst->get
_n
ame());
if (adst != ibModel->active_nodes.end()) {
act_dst = adst->second;
} else {
if (adst != ibModel->active_nodes.end()) {
act_dst = adst->second;
} else {
- throw std::out_of_range(std::string("Could not find '") + dst->get
C
name() + "' active comms !");
+ throw std::out_of_range(std::string("Could not find '") + dst->get
_c
name() + "' active comms !");
}
ibModel->active_comms[action]=std::make_pair(act_src, act_dst);
}
ibModel->active_comms[action]=std::make_pair(act_src, act_dst);