Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
I changed the way to connect traces afterward about 5 months ago. good time to notice...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 20 May 2008 23:09:16 +0000 (23:09 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 20 May 2008 23:09:16 +0000 (23:09 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5465 48e7efb5-ca39-0410-a469-dd3cf9ba447f

examples/platforms/metaxml.xml

index 20d57b2..2bb85c8 100644 (file)
@@ -5,15 +5,15 @@
 <!DOCTYPE platform SYSTEM "simgrid.dtd">
 <platform version="2">
 
 <!DOCTYPE platform SYSTEM "simgrid.dtd">
 <platform version="2">
 
-   <!-- define a trace inside the XML file -->
-   <trace id="mytrace" periodicity="12">
+  <!-- define a trace inside the XML file -->
+  <trace id="mytrace" periodicity="12">
        5 100
        17 200
        15 140
        5 100
        17 200
        15 140
-   </trace>
-  
+  </trace>
+
   <!-- define a cluster for Nancy. Hosts, links, backbone, routes for inter linkage and external linkage are generated by the parser automatically --> 
   <!-- define a cluster for Nancy. Hosts, links, backbone, routes for inter linkage and external linkage are generated by the parser automatically --> 
-  <cluster id="Nancy" prefix="nancy_" suffix="_host" radical="0-2" power="1234566789" bw="125000000" lat="0.00005" bb_bw="50000000" bb_lat="0.001"/>
+  <cluster id="Nancy" prefix="nancy_" radical="0-2" suffix="_host" power="1234566789" bw="125000000" lat="0.00005" bb_bw="50000000" bb_lat="0.001"/>
 
   <!-- Now we will define in 5 steps the same thing for cluster Lille but using the tags foreach and route:multi -->
 
 
   <!-- Now we will define in 5 steps the same thing for cluster Lille but using the tags foreach and route:multi -->
 
@@ -47,8 +47,8 @@
     <link:ctn id="INTER-bb"/>
     <link:ctn id="$dst"/>
   </route:multi>
     <link:ctn id="INTER-bb"/>
     <link:ctn id="$dst"/>
   </route:multi>
-
+  
   <!-- Connect the trace with the host nancy_0_host -->
   <!-- Connect the trace with the host nancy_0_host -->
-  <trace:connect kind="POWER" trace_id="mytrace" element="HOST" connector_id="nancy_0_host"/>
+  <trace:connect trace="mytrace" kind="POWER" element="nancy_0_host"/>
 
 </platform>
 
 </platform>