From ead1218a18a4c91ec40c0021274be310c4220791 Mon Sep 17 00:00:00 2001 From: alegrand Date: Mon, 29 May 2006 20:27:55 +0000 Subject: [PATCH] Keeping up with last surfxml modifications. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2321 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- examples/msg/msg_test_surfxml_bypassed.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/examples/msg/msg_test_surfxml_bypassed.c b/examples/msg/msg_test_surfxml_bypassed.c index 9a742d9c26..41a00e2648 100644 --- a/examples/msg/msg_test_surfxml_bypassed.c +++ b/examples/msg/msg_test_surfxml_bypassed.c @@ -17,12 +17,13 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test,"Messages specific for this msg example"); static int surf_parse_bypass(void) { /* */ + A_surfxml_platform_description_version = "1.1"; STag_surfxml_platform_description(); -/* */ +/* */ A_surfxml_cpu_name = "Cpu A"; - A_surfxml_cpu_power= "100.00"; + A_surfxml_cpu_power= "100000000.00"; A_surfxml_cpu_availability = "1.0"; A_surfxml_cpu_availability_file = ""; A_surfxml_cpu_state = A_surfxml_cpu_state_ON; @@ -35,9 +36,9 @@ static int surf_parse_bypass(void) STag_surfxml_cpu(); ETag_surfxml_cpu(); -/* */ +/* */ A_surfxml_cpu_name = "Cpu B"; - A_surfxml_cpu_power= "100.00"; + A_surfxml_cpu_power= "100000000.00"; A_surfxml_cpu_availability = "1.0"; A_surfxml_cpu_availability_file = ""; A_surfxml_cpu_state = A_surfxml_cpu_state_ON; @@ -50,9 +51,9 @@ static int surf_parse_bypass(void) STag_surfxml_cpu(); ETag_surfxml_cpu(); -/* */ +/* */ A_surfxml_network_link_name = "LinkA"; - A_surfxml_network_link_bandwidth = "10.0"; + A_surfxml_network_link_bandwidth = "10000000.0"; A_surfxml_network_link_bandwidth_file = NULL; A_surfxml_network_link_latency = "0.2"; A_surfxml_network_link_latency_file = NULL; @@ -107,12 +108,12 @@ static int surf_parse_bypass(void) ETag_surfxml_argument(); /* */ - A_surfxml_argument_value = "50000"; + A_surfxml_argument_value = "50000000000"; STag_surfxml_argument(); ETag_surfxml_argument(); /* */ - A_surfxml_argument_value = "10"; + A_surfxml_argument_value = "10000000"; STag_surfxml_argument(); ETag_surfxml_argument(); -- 2.20.1