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
[mc] Fix MC with the class-hierarchification of simgrid::simix::Synchro
[simgrid.git]
/
src
/
surf
/
instr_routing.cpp
diff --git
a/src/surf/instr_routing.cpp
b/src/surf/instr_routing.cpp
index
1512a6a
..
ad75117
100644
(file)
--- a/
src/surf/instr_routing.cpp
+++ b/
src/surf/instr_routing.cpp
@@
-6,7
+6,7
@@
#include "src/instr/instr_private.h"
#include "src/instr/instr_private.h"
-#include "s
imgrid/s4u/as
.hpp"
+#include "s
rc/surf/AsImpl
.hpp"
#include "simgrid/s4u/engine.hpp"
#include "surf/surf.h"
#include "src/surf/xml/platf_private.hpp"
#include "simgrid/s4u/engine.hpp"
#include "surf/surf.h"
#include "src/surf/xml/platf_private.hpp"
@@
-152,7
+152,7
@@
static void recursiveGraphExtraction (simgrid::s4u::As *as, container_t containe
xbt_dict_cursor_t cursor = NULL;
char *edge_name;
xbt_dict_cursor_t cursor = NULL;
char *edge_name;
-
as
->getGraph(graph, nodes, edges);
+
static_cast<simgrid::surf::AsImpl*>(as)
->getGraph(graph, nodes, edges);
xbt_dict_foreach(edges,cursor,edge_name,edge) {
linkContainers(
PJ_container_get((const char*) edge->src->data),
xbt_dict_foreach(edges,cursor,edge_name,edge) {
linkContainers(
PJ_container_get((const char*) edge->src->data),
@@
-269,7
+269,7
@@
void sg_instr_new_host(sg_platf_host_cbarg_t host)
}
double current_speed_state;
}
double current_speed_state;
- xbt_dynar_get_cpy(host->speed_pe
ak
, host->pstate, ¤t_speed_state);
+ xbt_dynar_get_cpy(host->speed_pe
r_pstate
, host->pstate, ¤t_speed_state);
new_pajeSetVariable (0, container, speed, current_speed_state);
}
if (TRACE_uncategorized()){
new_pajeSetVariable (0, container, speed, current_speed_state);
}
if (TRACE_uncategorized()){
@@
-459,7
+459,7
@@
static void recursiveXBTGraphExtraction (xbt_graph_t graph, xbt_dict_t nodes, xb
}
}
}
}
-
as
->getGraph(graph, nodes, edges);
+
static_cast<simgrid::surf::AsImpl*>(as)
->getGraph(graph, nodes, edges);
}
xbt_graph_t instr_routing_platform_graph (void)
}
xbt_graph_t instr_routing_platform_graph (void)