- /* And just look at the stat of these tasks */
- printf("actionA : %p (%s)\n", actionA, string_action(stateActionA));
- printf("actionB : %p (%s)\n", actionB, string_action(stateActionB));
+ /* And just look at the state of these tasks */
+ XBT_DEBUG("actionA : %p (%s)", actionA, string_action(stateActionA));
+ XBT_DEBUG("actionB : %p (%s)", actionB, string_action(stateActionB));
+ XBT_DEBUG("actionC : %p (%s)", actionB, string_action(stateActionC));
+
+ /*********************** Network *******************************/
+ XBT_DEBUG("%p", surf_network_model);
+ cardA = sg_routing_edge_by_name_or_null("Cpu A");
+ cardB = sg_routing_edge_by_name_or_null("Cpu B");
+
+ /* Let's check that those two processors exist */
+ XBT_DEBUG("%s : %p", surf_resource_name(cardA), cardA);
+ XBT_DEBUG("%s : %p", surf_resource_name(cardB), cardB);