Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Change again the size of the problem for the MC.
[simgrid.git] / examples / msg / masterslave / masterslave_bypass.c
index f6d3e28..af49c30 100644 (file)
@@ -23,7 +23,7 @@ static int surf_parse_bypass_platform(void)
   surfxml_bufferstack = xbt_new0(char, surfxml_bufferstack_size);
 
   DEBUG0("<platform>");
-  SURFXML_BUFFER_SET(platform_version, "2");
+  SURFXML_BUFFER_SET(platform_version, "3");
   SURFXML_START_TAG(platform);
 
   DEBUG0("<AS>");
@@ -36,6 +36,7 @@ static int surf_parse_bypass_platform(void)
   SURFXML_BUFFER_SET(host_power, "100000000.00");
   SURFXML_BUFFER_SET(host_availability, "1.0");
   SURFXML_BUFFER_SET(host_availability_file, "");
+  SURFXML_BUFFER_SET(host_core, "1");
   A_surfxml_host_state = A_surfxml_host_state_ON;
   SURFXML_BUFFER_SET(host_state_file, "");
   SURFXML_START_TAG(host);
@@ -46,6 +47,7 @@ static int surf_parse_bypass_platform(void)
   SURFXML_BUFFER_SET(host_power, "100000000.00");
   SURFXML_BUFFER_SET(host_availability, "1.0");
   SURFXML_BUFFER_SET(host_availability_file, "");
+  SURFXML_BUFFER_SET(host_core, "1");
   A_surfxml_host_state = A_surfxml_host_state_ON;
   SURFXML_BUFFER_SET(host_state_file, "");
   SURFXML_START_TAG(host);
@@ -66,9 +68,11 @@ static int surf_parse_bypass_platform(void)
   DEBUG0("<route src=\"host A\" dst=\"host B\">");
   SURFXML_BUFFER_SET(route_src, "host A");
   SURFXML_BUFFER_SET(route_dst, "host B");
+  A_surfxml_route_symmetrical = A_surfxml_route_symmetrical_YES;
   SURFXML_START_TAG(route);
   DEBUG0("     <link:ctn id=\"LinkA\"/>");
   SURFXML_BUFFER_SET(link_ctn_id, "LinkA");
+  A_surfxml_link_ctn_direction = A_surfxml_link_ctn_direction_NONE;
   SURFXML_START_TAG(link_ctn);
   SURFXML_END_TAG(link_ctn);
   DEBUG0("</route>");
@@ -93,7 +97,7 @@ static int surf_parse_bypass_application(void)
   surfxml_bufferstack = xbt_new0(char, surfxml_bufferstack_size);
 
   /* <platform> */
-  SURFXML_BUFFER_SET(platform_version, "2");
+  SURFXML_BUFFER_SET(platform_version, "3");
 
   SURFXML_START_TAG(platform);