- /* 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 */
+ DEBUG2("actionA : %p (%s)", actionA, string_action(stateActionA));
+ DEBUG2("actionB : %p (%s)", actionB, string_action(stateActionB));
+ DEBUG2("actionC : %p (%s)", actionB, string_action(stateActionC));
+
+ /*********************** Network *******************************/
+ DEBUG1("%p", surf_network_model);
+ cardA = surf_model_resource_by_name(surf_network_model,"Cpu A");
+ cardB = surf_model_resource_by_name(surf_network_model,"Cpu B");
+
+ /* Let's check that those two processors exist */
+ DEBUG2("%s : %p", surf_resource_name(cardA), cardA);
+ DEBUG2("%s : %p", surf_resource_name(cardB), cardB);