<!DOCTYPE platform SYSTEM "simgrid.dtd">
<platform version="2">
- <!-- define a trace inside the XML file -->
- <trace id="mytrace" periodicity="12">
- 5 100
- 17 200
- 15 140
- </trace>
-
+ <!-- define a trace inside the XML file -->
+ <trace id="mytrace" periodicity="12">
+ 5 100 <!-- new value at time 5 is 100 -->
+ 12 200 <!-- new value at time 12 is 200 -->
+ 15 140 <!-- new value at time 15 is 140 -->
+ <!-- value will stay at 140 for 12 more seconds (the periodicity parameter), and go back on top of the trace afterward) -->
+ </trace>
+
<!-- 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 -->
<link:ctn id="INTER-bb"/>
<link:ctn id="$dst"/>
</route:multi>
-
+
<!-- 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>