#include "src/instr/instr_private.h"
-#include "simgrid/s4u/as.hpp"
+#include "src/surf/AsImpl.hpp"
#include "simgrid/s4u/engine.hpp"
#include "surf/surf.h"
#include "src/surf/xml/platf_private.hpp"
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),
}
double current_speed_state;
- xbt_dynar_get_cpy(host->speed_peak, host->pstate, ¤t_speed_state);
+ xbt_dynar_get_cpy(host->speed_per_pstate, host->pstate, ¤t_speed_state);
new_pajeSetVariable (0, container, speed, current_speed_state);
}
if (TRACE_uncategorized()){
}
}
- as->getGraph(graph, nodes, edges);
+ static_cast<simgrid::surf::AsImpl*>(as)->getGraph(graph, nodes, edges);
}
xbt_graph_t instr_routing_platform_graph (void)