Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use reasonable values in deployment files.
[simgrid.git] / examples / msg / msg_test_surfxml_bypassed.c
index 41a00e2..e5572d5 100644 (file)
@@ -5,6 +5,7 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
+#include <stdio.h>
 #include "msg/msg.h"  /* Yeah! If you want to use msg, you need to include msg/msg.h */
 #include "surf/surfxml_parse.h" /* to override surf_parse */
 #include "surf/surfxml.h"       /* to hijack surf_parse_lex */
@@ -17,7 +18,7 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test,"Messages specific for this msg example");
 static int surf_parse_bypass(void)
 {
 /* <platform_description> */
-  A_surfxml_platform_description_version = "1.1";
+  A_surfxml_platform_description_version = "1";
   STag_surfxml_platform_description();
 
 
@@ -107,13 +108,13 @@ static int surf_parse_bypass(void)
   STag_surfxml_argument();
   ETag_surfxml_argument();
 
-/*      <argument value="50000"/> */
-  A_surfxml_argument_value = "50000000000";
+/*      <argument value="5000000"/> */
+  A_surfxml_argument_value = "5000000";
   STag_surfxml_argument();
   ETag_surfxml_argument();
 
-/*      <argument value="10"/> */
-  A_surfxml_argument_value = "10000000";
+/*      <argument value="100000"/> */
+  A_surfxml_argument_value = "100000";
   STag_surfxml_argument();
   ETag_surfxml_argument();