- Added a new example, "Colori".

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1096 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
matrevis 2006-09-11 21:16:26 +00:00
parent c4aac86d0a
commit 79d2ae1e44
2 changed files with 35 additions and 0 deletions

View File

@ -576,6 +576,7 @@ noinst_DATA += \
src/testsuite/scheduling-wizards/environments/Ducks_rr_2.xgp \ src/testsuite/scheduling-wizards/environments/Ducks_rr_2.xgp \
src/testsuite/scheduling-wizards/environments/FruitsBasket_complex.xgp \ src/testsuite/scheduling-wizards/environments/FruitsBasket_complex.xgp \
src/testsuite/scheduling-wizards/environments/Fantozzi_lifo_requests.xgp \ src/testsuite/scheduling-wizards/environments/Fantozzi_lifo_requests.xgp \
src/testsuite/scheduling-wizards/environments/Colori_rr_prio_1_2.xgp \
src/testsuite/scheduling-wizards/environments/ScuolaDiMileto_block_fail.xgp \ src/testsuite/scheduling-wizards/environments/ScuolaDiMileto_block_fail.xgp \
src/testsuite/scheduling-wizards/environments/ScuolaDiMileto_gap_blocked.xgp \ src/testsuite/scheduling-wizards/environments/ScuolaDiMileto_gap_blocked.xgp \
src/testsuite/scheduling-wizards/environments/ScuolaDiMileto_assert_fail.xgp \ src/testsuite/scheduling-wizards/environments/ScuolaDiMileto_assert_fail.xgp \

View File

@ -0,0 +1,34 @@
<?xml version="1.0"?>
<!DOCTYPE sgpem SYSTEM "sgpem.dtd">
<sgpem>
<resources>
<resource name="Ruota" id="reskey0" arrival-time="0" how-many="1" pre-emptible="false"/>
</resources>
<schedulables>
<process name="Giallo" priority="0" arrival-time="0">
<threads>
<thread name="Rosso" priority="4" arrival-delta="0" lasts-for="6">
<requests>
<request arrival-time="0">
<subrequest resource="0" lasts-for="3"/>
</request>
</requests>
</thread>
<thread name="Blu" priority="4" arrival-delta="2" lasts-for="1">
<requests>
<request arrival-time="0">
<subrequest resource="0" lasts-for="3"/>
</request>
</requests>
</thread>
<thread name="Viola" priority="0" arrival-delta="3" lasts-for="4">
<requests>
<request arrival-time="0">
<subrequest resource="0" lasts-for="1"/>
</request>
</requests>
</thread>
</threads>
</process>
</schedulables>
</sgpem>