sgpemv2/data/example-snapshot.xsgp

34 lines
1.2 KiB
XML

<?xml version="1.0"?>
<!DOCTYPE sgpem SYSTEM "sgpem.dtd">
<sgpem>
<resources>
<resource name="Resource 1" id="reskey2" arrival-time="0" how-many="1" pre-emptible="false"/>
<resource name="Invalid? Resource &lt;n&gt; 1" id="reskey3" arrival-time="0" how-many="1" pre-emptible="false"/>
</resources>
<schedulables>
<process name="Process 1" priority="2" arrival-time="0">
<threads>
<thread name="Process 1 - Thread 1" priority="6" arrival-delta="2" lasts-for="0">
<requests>
<request arrival-time="3">
<subrequest resource="2" how-many="2" lasts-for="5"/>
</request>
</requests>
</thread>
<thread name="Process 1 - Thread 2" priority="5" arrival-delta="3" lasts-for="0">
<requests/>
</thread>
</threads>
</process>
<process name="Process 2" priority="3" arrival-time="7">
<threads/>
</process>
<process name="Process 3" priority="1" arrival-time="9">
<threads/>
</process>
<process name="Invalid? &lt;process/&gt; &amp;3 or\4" priority="1" arrival-time="9">
<threads/>
</process>
</schedulables>
</sgpem>