- Ported wizards, altough still missing the way
to copy them into the install destination directory - Yaling in preferences treeviews - Changing policy now resets history - Corrected some detail in speed control widget git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@995 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
f003779a04
commit
b4f8c61695
11
Makefile.am
11
Makefile.am
|
@ -522,3 +522,14 @@ noinst_DATA += \
|
|||
src/testsuite/scheduling-wizards/wizard-complex-test \
|
||||
src/testsuite/scheduling-wizards/wizard-priority-inversion-porno \
|
||||
src/testsuite/scheduling-wizards/wizard-block-fail
|
||||
|
||||
# environments/DiscWorld_unblock.xgp \
|
||||
# environments/Fantozzi_lifo_requests.xgp \
|
||||
# environments/FruitsBasket_complex.xgp \
|
||||
# environments/Matteo_deadlock.xgp \
|
||||
# environments/Modernita_gap_terminated.xgp \
|
||||
# environments/Porno_priority_inversion.xgp \
|
||||
# environments/ScuolaDiMileto_assert_fail.xgp \
|
||||
# environments/ScuolaDiMileto_block_fail.xgp \
|
||||
# environments/ScuolaDiMileto_gap_blocked.xgp \
|
||||
# environments/ScuolaDiMileto_gap_fail.xgp
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE sgpem SYSTEM "sgpem.dtd">
|
||||
<sgpem>
|
||||
<resources>
|
||||
<resource name="banana" id="reskey0" arrival-time="0" how-many="1" pre-emptible="false"/>
|
||||
</resources>
|
||||
<schedulables>
|
||||
<process name="Unseen University" priority="0" arrival-time="0">
|
||||
<threads>
|
||||
<thread name="The Librarian" priority="0" arrival-delta="0" lasts-for="4">
|
||||
<requests>
|
||||
<request arrival-time="0">
|
||||
<subrequest resource="0" lasts-for="3"/>
|
||||
</request>
|
||||
</requests>
|
||||
</thread>
|
||||
<thread name="Rincewind" priority="0" arrival-delta="0" lasts-for="2">
|
||||
<requests>
|
||||
<request arrival-time="1">
|
||||
<subrequest resource="0" lasts-for="2"/>
|
||||
</request>
|
||||
</requests>
|
||||
</thread>
|
||||
</threads>
|
||||
</process>
|
||||
</schedulables>
|
||||
</sgpem>
|
|
@ -0,0 +1,37 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE sgpem SYSTEM "sgpem.dtd">
|
||||
<sgpem>
|
||||
<resources>
|
||||
<resource name="Telefono" id="reskey0" arrival-time="0" how-many="1" pre-emptible="false"/>
|
||||
<resource name="Fax" id="reskey1" arrival-time="0" how-many="1" pre-emptible="false"/>
|
||||
</resources>
|
||||
<schedulables>
|
||||
<process name="Ufficio Sinistri" priority="5" arrival-time="0">
|
||||
<threads>
|
||||
<thread name="Fantozzi" priority="5" arrival-delta="0" lasts-for="7">
|
||||
<requests>
|
||||
<request arrival-time="0">
|
||||
<subrequest resource="0" lasts-for="7"/>
|
||||
</request>
|
||||
</requests>
|
||||
</thread>
|
||||
<thread name="Filini" priority="4" arrival-delta="2" lasts-for="3">
|
||||
<requests>
|
||||
<request arrival-time="0">
|
||||
<subrequest resource="0" lasts-for="3"/>
|
||||
<subrequest resource="1" lasts-for="3"/>
|
||||
</request>
|
||||
</requests>
|
||||
</thread>
|
||||
<thread name="Signorina Silvani" priority="3" arrival-delta="4" lasts-for="4">
|
||||
<requests>
|
||||
<request arrival-time="0">
|
||||
<subrequest resource="0" lasts-for="2"/>
|
||||
<subrequest resource="1" lasts-for="2"/>
|
||||
</request>
|
||||
</requests>
|
||||
</thread>
|
||||
</threads>
|
||||
</process>
|
||||
</schedulables>
|
||||
</sgpem>
|
|
@ -0,0 +1,125 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE sgpem SYSTEM "sgpem.dtd">
|
||||
<sgpem>
|
||||
<resources>
|
||||
<resource name="forchetta" id="reskey0" arrival-time="0" how-many="1" pre-emptible="false"/>
|
||||
<resource name="ashi" id="reskey1" arrival-time="0" how-many="2" pre-emptible="false"/>
|
||||
<resource name="dita" id="reskey2" arrival-time="0" how-many="10" pre-emptible="false"/>
|
||||
</resources>
|
||||
<schedulables>
|
||||
<process name="Toru" priority="3" arrival-time="1">
|
||||
<threads>
|
||||
<thread name="toru-kun" priority="3" arrival-delta="0" lasts-for="4">
|
||||
<requests/>
|
||||
</thread>
|
||||
</threads>
|
||||
</process>
|
||||
<process name="Yuki" priority="2" arrival-time="4">
|
||||
<threads>
|
||||
<thread name="yun-yun" priority="2" arrival-delta="0" lasts-for="3">
|
||||
<requests/>
|
||||
</thread>
|
||||
</threads>
|
||||
</process>
|
||||
<process name="Kyo" priority="4" arrival-time="4">
|
||||
<threads>
|
||||
<thread name="kyon-kyon" priority="4" arrival-delta="0" lasts-for="1">
|
||||
<requests/>
|
||||
</thread>
|
||||
</threads>
|
||||
</process>
|
||||
<process name="Shigure" priority="0" arrival-time="6">
|
||||
<threads>
|
||||
<thread name="gure" priority="0" arrival-delta="0" lasts-for="1">
|
||||
<requests>
|
||||
<request arrival-time="0">
|
||||
<subrequest resource="0" lasts-for="1"/>
|
||||
<subrequest resource="2" lasts-for="3"/>
|
||||
<subrequest resource="2" lasts-for="4"/>
|
||||
</request>
|
||||
</requests>
|
||||
</thread>
|
||||
</threads>
|
||||
</process>
|
||||
<process name="Kagura" priority="5" arrival-time="6">
|
||||
<threads>
|
||||
<thread name="kagura" priority="5" arrival-delta="0" lasts-for="10">
|
||||
<requests>
|
||||
<request arrival-time="0">
|
||||
<subrequest resource="0" lasts-for="5"/>
|
||||
<subrequest resource="2" lasts-for="3"/>
|
||||
</request>
|
||||
<request arrival-time="5">
|
||||
<subrequest resource="2" lasts-for="3"/>
|
||||
<subrequest resource="2" lasts-for="3"/>
|
||||
</request>
|
||||
</requests>
|
||||
</thread>
|
||||
</threads>
|
||||
</process>
|
||||
<process name="Momiji" priority="0" arrival-time="12">
|
||||
<threads>
|
||||
<thread name="momiji-kun" priority="0" arrival-delta="0" lasts-for="1">
|
||||
<requests/>
|
||||
</thread>
|
||||
</threads>
|
||||
</process>
|
||||
<process name="Hatori" priority="0" arrival-time="14">
|
||||
<threads>
|
||||
<thread name="tori" priority="0" arrival-delta="0" lasts-for="1">
|
||||
<requests/>
|
||||
</thread>
|
||||
</threads>
|
||||
</process>
|
||||
<process name="Hatsuharu" priority="0" arrival-time="15">
|
||||
<threads>
|
||||
<thread name="haru" priority="0" arrival-delta="0" lasts-for="1">
|
||||
<requests/>
|
||||
</thread>
|
||||
</threads>
|
||||
</process>
|
||||
<process name="Ayame" priority="0" arrival-time="15">
|
||||
<threads>
|
||||
<thread name="aya" priority="0" arrival-delta="0" lasts-for="6">
|
||||
<requests>
|
||||
<request arrival-time="2">
|
||||
<subrequest resource="2" lasts-for="3"/>
|
||||
<subrequest resource="2" lasts-for="3"/>
|
||||
<subrequest resource="2" lasts-for="3"/>
|
||||
<subrequest resource="2" lasts-for="3"/>
|
||||
<subrequest resource="2" lasts-for="3"/>
|
||||
<subrequest resource="2" lasts-for="3"/>
|
||||
<subrequest resource="2" lasts-for="3"/>
|
||||
<subrequest resource="2" lasts-for="3"/>
|
||||
<subrequest resource="2" lasts-for="3"/>
|
||||
<subrequest resource="2" lasts-for="3"/>
|
||||
</request>
|
||||
</requests>
|
||||
</thread>
|
||||
</threads>
|
||||
</process>
|
||||
<process name="Kisa" priority="0" arrival-time="17">
|
||||
<threads>
|
||||
<thread name="kisa" priority="0" arrival-delta="0" lasts-for="2">
|
||||
<requests>
|
||||
<request arrival-time="1">
|
||||
<subrequest resource="1" lasts-for="3"/>
|
||||
<subrequest resource="2" lasts-for="3"/>
|
||||
</request>
|
||||
</requests>
|
||||
</thread>
|
||||
</threads>
|
||||
</process>
|
||||
<process name="Ritsu" priority="0" arrival-time="16">
|
||||
<threads>
|
||||
<thread name="ri" priority="0" arrival-delta="0" lasts-for="2">
|
||||
<requests>
|
||||
<request arrival-time="0">
|
||||
<subrequest resource="0" lasts-for="1"/>
|
||||
</request>
|
||||
</requests>
|
||||
</thread>
|
||||
</threads>
|
||||
</process>
|
||||
</schedulables>
|
||||
</sgpem>
|
|
@ -0,0 +1,34 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE sgpem SYSTEM "sgpem.dtd">
|
||||
<sgpem>
|
||||
<resources>
|
||||
<resource name="scythe" id="reskey0" arrival-time="0" how-many="1" pre-emptible="false"/>
|
||||
<resource name="sword" id="reskey1" arrival-time="0" how-many="1" pre-emptible="false"/>
|
||||
</resources>
|
||||
<schedulables>
|
||||
<process name="Antrophomorphic personification" priority="0" arrival-time="0">
|
||||
<threads>
|
||||
<thread name="Death" priority="0" arrival-delta="0" lasts-for="4">
|
||||
<requests>
|
||||
<request arrival-time="0">
|
||||
<subrequest resource="0" lasts-for="2"/>
|
||||
</request>
|
||||
<request arrival-time="1">
|
||||
<subrequest resource="1" lasts-for="2"/>
|
||||
</request>
|
||||
</requests>
|
||||
</thread>
|
||||
<thread name="Susan Sto Helit" priority="0" arrival-delta="0" lasts-for="4">
|
||||
<requests>
|
||||
<request arrival-time="0">
|
||||
<subrequest resource="1" lasts-for="2"/>
|
||||
</request>
|
||||
<request arrival-time="1">
|
||||
<subrequest resource="0" lasts-for="2"/>
|
||||
</request>
|
||||
</requests>
|
||||
</thread>
|
||||
</threads>
|
||||
</process>
|
||||
</schedulables>
|
||||
</sgpem>
|
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE sgpem SYSTEM "sgpem.dtd">
|
||||
<sgpem>
|
||||
<resources/>
|
||||
<schedulables>
|
||||
<process name="Rivoluzione" priority="1" arrival-time="0">
|
||||
<threads>
|
||||
<thread name="Copernico" priority="0" arrival-delta="0" lasts-for="3">
|
||||
<requests/>
|
||||
</thread>
|
||||
<thread name="Bruno" priority="0" arrival-delta="3" lasts-for="2">
|
||||
<requests/>
|
||||
</thread>
|
||||
<thread name="Galilei" priority="0" arrival-delta="6" lasts-for="3">
|
||||
<requests/>
|
||||
</thread>
|
||||
</threads>
|
||||
</process>
|
||||
</schedulables>
|
||||
</sgpem>
|
|
@ -0,0 +1,39 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE sgpem SYSTEM "sgpem.dtd">
|
||||
<sgpem>
|
||||
<resources>
|
||||
<resource name="Jenna Jameson" id="reskey0" arrival-time="0" how-many="2" pre-emptible="false"/>
|
||||
</resources>
|
||||
<schedulables>
|
||||
<process name=""Wet Dreams IV"" priority="0" arrival-time="0">
|
||||
<threads>
|
||||
<thread name="Peter North" priority="10" arrival-delta="0" lasts-for="3">
|
||||
<requests>
|
||||
<request arrival-time="0">
|
||||
<subrequest resource="0" lasts-for="3"/>
|
||||
</request>
|
||||
</requests>
|
||||
</thread>
|
||||
</threads>
|
||||
</process>
|
||||
<process name=""A Night With Jenna"" priority="0" arrival-time="2">
|
||||
<threads>
|
||||
<thread name="Rocco Siffredi" priority="0" arrival-delta="0" lasts-for="3">
|
||||
<requests>
|
||||
<request arrival-time="0">
|
||||
<subrequest resource="0" lasts-for="3"/>
|
||||
<subrequest resource="0" lasts-for="3"/>
|
||||
</request>
|
||||
</requests>
|
||||
</thread>
|
||||
<thread name="Mandingo" priority="5" arrival-delta="0" lasts-for="3">
|
||||
<requests>
|
||||
<request arrival-time="0">
|
||||
<subrequest resource="0" lasts-for="3"/>
|
||||
</request>
|
||||
</requests>
|
||||
</thread>
|
||||
</threads>
|
||||
</process>
|
||||
</schedulables>
|
||||
</sgpem>
|
|
@ -0,0 +1,37 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE sgpem SYSTEM "sgpem.dtd">
|
||||
<sgpem>
|
||||
<resources>
|
||||
<resource name="forchetta" id="reskey0" arrival-time="0" how-many="1" pre-emptible="false"/>
|
||||
</resources>
|
||||
<schedulables>
|
||||
<process name="Scuola di Mileto" priority="0" arrival-time="0">
|
||||
<threads>
|
||||
<thread name="Anassimandro" priority="0" arrival-delta="0" lasts-for="3">
|
||||
<requests>
|
||||
<request arrival-time="1">
|
||||
<subrequest resource="0" lasts-for="3"/>
|
||||
</request>
|
||||
<request arrival-time="2">
|
||||
<subrequest resource="0" lasts-for="2"/>
|
||||
</request>
|
||||
</requests>
|
||||
</thread>
|
||||
<thread name="Anassimene" priority="0" arrival-delta="2" lasts-for="2">
|
||||
<requests>
|
||||
<request arrival-time="0">
|
||||
<subrequest resource="0" lasts-for="1"/>
|
||||
</request>
|
||||
</requests>
|
||||
</thread>
|
||||
<thread name="Eraclito" priority="0" arrival-delta="2" lasts-for="2">
|
||||
<requests>
|
||||
<request arrival-time="0">
|
||||
<subrequest resource="0" lasts-for="1"/>
|
||||
</request>
|
||||
</requests>
|
||||
</thread>
|
||||
</threads>
|
||||
</process>
|
||||
</schedulables>
|
||||
</sgpem>
|
|
@ -0,0 +1,38 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE sgpem SYSTEM "sgpem.dtd">
|
||||
<sgpem>
|
||||
<resources>
|
||||
<resource name="ashi" id="reskey0" arrival-time="0" how-many="2" pre-emptible="false"/>
|
||||
<resource name="forchetta" id="reskey1" arrival-time="0" how-many="1" pre-emptible="false"/>
|
||||
</resources>
|
||||
<schedulables>
|
||||
<process name="Scuola di Mileto" priority="0" arrival-time="0">
|
||||
<threads>
|
||||
<thread name="Anassimandro" priority="0" arrival-delta="0" lasts-for="4">
|
||||
<requests>
|
||||
<request arrival-time="0">
|
||||
<subrequest resource="1" lasts-for="4"/>
|
||||
</request>
|
||||
<request arrival-time="2">
|
||||
<subrequest resource="1" lasts-for="3"/>
|
||||
</request>
|
||||
</requests>
|
||||
</thread>
|
||||
<thread name="Anassimene" priority="0" arrival-delta="1" lasts-for="6">
|
||||
<requests>
|
||||
<request arrival-time="0">
|
||||
<subrequest resource="1" lasts-for="2"/>
|
||||
</request>
|
||||
</requests>
|
||||
</thread>
|
||||
<thread name="Pitagora" priority="0" arrival-delta="1" lasts-for="2">
|
||||
<requests>
|
||||
<request arrival-time="0">
|
||||
<subrequest resource="1" lasts-for="2"/>
|
||||
</request>
|
||||
</requests>
|
||||
</thread>
|
||||
</threads>
|
||||
</process>
|
||||
</schedulables>
|
||||
</sgpem>
|
|
@ -0,0 +1,35 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE sgpem SYSTEM "sgpem.dtd">
|
||||
<sgpem>
|
||||
<resources>
|
||||
<resource name="forchetta" id="reskey0" arrival-time="0" how-many="1" pre-emptible="false"/>
|
||||
</resources>
|
||||
<schedulables>
|
||||
<process name="Pitagorici" priority="0" arrival-time="0">
|
||||
<threads>
|
||||
<thread name="Pitagora" priority="0" arrival-delta="0" lasts-for="5">
|
||||
<requests>
|
||||
<request arrival-time="0">
|
||||
<subrequest resource="0" lasts-for="5"/>
|
||||
</request>
|
||||
</requests>
|
||||
</thread>
|
||||
</threads>
|
||||
</process>
|
||||
<process name="Scuola di Mileto" priority="1" arrival-time="2">
|
||||
<threads>
|
||||
<thread name="Anassimene" priority="0" arrival-delta="1" lasts-for="4">
|
||||
<requests/>
|
||||
</thread>
|
||||
<thread name="Anassimandro" priority="0" arrival-delta="0" lasts-for="2">
|
||||
<requests>
|
||||
<request arrival-time="0">
|
||||
<subrequest resource="0" lasts-for="1"/>
|
||||
<subrequest resource="0" lasts-for="2"/>
|
||||
</request>
|
||||
</requests>
|
||||
</thread>
|
||||
</threads>
|
||||
</process>
|
||||
</schedulables>
|
||||
</sgpem>
|
|
@ -0,0 +1,42 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE sgpem SYSTEM "sgpem.dtd">
|
||||
<sgpem>
|
||||
<resources>
|
||||
<resource name="forchetta" id="reskey0" arrival-time="0" how-many="1" pre-emptible="false"/>
|
||||
</resources>
|
||||
<schedulables>
|
||||
<process name="Pitagorici" priority="0" arrival-time="0">
|
||||
<threads>
|
||||
<thread name="Pitagora" priority="0" arrival-delta="0" lasts-for="4">
|
||||
<requests>
|
||||
<request arrival-time="0">
|
||||
<subrequest resource="0" lasts-for="4"/>
|
||||
<subrequest resource="0" lasts-for="4"/>
|
||||
</request>
|
||||
<request arrival-time="2">
|
||||
<subrequest resource="0" lasts-for="4"/>
|
||||
</request>
|
||||
</requests>
|
||||
</thread>
|
||||
</threads>
|
||||
</process>
|
||||
<process name="Scuola di Mileto" priority="0" arrival-time="3">
|
||||
<threads>
|
||||
<thread name="Anassimene" priority="0" arrival-delta="0" lasts-for="6">
|
||||
<requests>
|
||||
<request arrival-time="0">
|
||||
<subrequest resource="0" lasts-for="2"/>
|
||||
</request>
|
||||
</requests>
|
||||
</thread>
|
||||
<thread name="Anassimandro" priority="0" arrival-delta="0" lasts-for="2">
|
||||
<requests>
|
||||
<request arrival-time="0">
|
||||
<subrequest resource="0" lasts-for="2"/>
|
||||
</request>
|
||||
</requests>
|
||||
</thread>
|
||||
</threads>
|
||||
</process>
|
||||
</schedulables>
|
||||
</sgpem>
|
File diff suppressed because it is too large
Load Diff
|
@ -23,6 +23,7 @@
|
|||
#include "cpu_policies_gatekeeper.hh"
|
||||
#include "cpu_policy_manager.hh"
|
||||
#include "cpu_policy.hh"
|
||||
#include "concrete_history.hh"
|
||||
|
||||
// Include full template definition only in implementation files:
|
||||
#include "singleton.tcc"
|
||||
|
@ -120,6 +121,8 @@ CPUPoliciesGatekeeper::activate_policy(History *history, CPUPolicy* policy) thro
|
|||
{
|
||||
policy->activate();
|
||||
_active_policies[history] = policy;
|
||||
// the content of history (if any) is not vaild any more.
|
||||
dynamic_cast<ConcreteHistory*>(history)->reset(true);
|
||||
}
|
||||
catch(const CPUPolicyException& e)
|
||||
{
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
#include "resource_policies_gatekeeper.hh"
|
||||
#include "resource_policy_manager.hh"
|
||||
#include "resource_policy.hh"
|
||||
#include "concrete_history.hh"
|
||||
|
||||
// Include full template definition only in implementation files:
|
||||
#include "singleton.tcc"
|
||||
|
@ -94,6 +95,8 @@ ResourcePoliciesGatekeeper::activate_policy(History *history, ResourcePolicy* po
|
|||
assert(history != NULL && policy != NULL);
|
||||
|
||||
_active_policies[history] = policy;
|
||||
// the content of history (if any) is not vaild any more.
|
||||
dynamic_cast<ConcreteHistory*>(history)->reset(true);
|
||||
}
|
||||
|
||||
ResourcePoliciesGatekeeper::ResourcePoliciesGatekeeper()
|
||||
|
|
|
@ -49,6 +49,7 @@ PreferencesEditor::PreferencesEditor(const std::string& gladefile)
|
|||
|
||||
|
||||
|
||||
|
||||
// ========================================
|
||||
// PLUGINS
|
||||
|
||||
|
@ -70,8 +71,11 @@ PreferencesEditor::PreferencesEditor(const std::string& gladefile)
|
|||
_refXml->get_widget("Plugins.Loaded.TreeView", plugins_treeview);
|
||||
plugins_treeview->set_model(plugins_model);
|
||||
plugins_treeview->append_column("name", column_name_plug);
|
||||
plugins_treeview->get_column_cell_renderer(0)->property_yalign().set_value(0.0);
|
||||
plugins_treeview->append_column("description", column_desc_plug);
|
||||
plugins_treeview->get_column_cell_renderer(1)->property_yalign().set_value(0.0);
|
||||
plugins_treeview->append_column("author", column_author_plug);
|
||||
plugins_treeview->get_column_cell_renderer(2)->property_yalign().set_value(0.0);
|
||||
|
||||
// update the model with the backend information
|
||||
update_plugins();
|
||||
|
@ -123,6 +127,7 @@ PreferencesEditor::PreferencesEditor(const std::string& gladefile)
|
|||
|
||||
|
||||
|
||||
|
||||
// ========================================
|
||||
// POLICIES
|
||||
|
||||
|
@ -142,7 +147,10 @@ PreferencesEditor::PreferencesEditor(const std::string& gladefile)
|
|||
_refXml->get_widget("Policies.Loaded.TreeView", policies_treeview);
|
||||
policies_treeview->set_model(policies_model);
|
||||
policies_treeview->append_column("name", column_name_pol);
|
||||
policies_treeview->get_column_cell_renderer(0)->property_yalign().set_value(0.0);
|
||||
policies_treeview->append_column("description", column_desc_pol);
|
||||
policies_treeview->get_column_cell_renderer(1)->property_yalign().set_value(0.0);
|
||||
|
||||
|
||||
// update the model with the backend information
|
||||
update_policies();
|
||||
|
@ -194,6 +202,7 @@ PreferencesEditor::PreferencesEditor(const std::string& gladefile)
|
|||
|
||||
|
||||
|
||||
|
||||
// ========================================
|
||||
// SPEED
|
||||
|
||||
|
@ -205,6 +214,7 @@ PreferencesEditor::PreferencesEditor(const std::string& gladefile)
|
|||
|
||||
|
||||
|
||||
|
||||
// ========================================
|
||||
// GENERAL
|
||||
|
||||
|
|
|
@ -1,54 +1,5 @@
|
|||
set cpu-policy 3
|
||||
add resource
|
||||
forchetta
|
||||
1
|
||||
add process
|
||||
Scuola di Mileto
|
||||
0
|
||||
0
|
||||
add thread 1
|
||||
Anassimandro
|
||||
3
|
||||
0
|
||||
0
|
||||
|
||||
add thread 1
|
||||
Anassimene
|
||||
2
|
||||
2
|
||||
0
|
||||
|
||||
add thread 1
|
||||
Eraclito
|
||||
2
|
||||
2
|
||||
0
|
||||
|
||||
add request 1 1
|
||||
1
|
||||
add subrequest 1 1 1
|
||||
0
|
||||
3
|
||||
add request 1 1
|
||||
2
|
||||
add subrequest 1 1 2
|
||||
0
|
||||
2
|
||||
|
||||
add request 1 2
|
||||
0
|
||||
add subrequest 1 2 1
|
||||
0
|
||||
1
|
||||
|
||||
|
||||
|
||||
add request 1 3
|
||||
0
|
||||
add subrequest 1 3 1
|
||||
0
|
||||
1
|
||||
|
||||
|
||||
load environments/ScuolaDiMileto_assert_fail.xgp
|
||||
|
||||
run
|
||||
|
|
|
@ -1,56 +1,5 @@
|
|||
set cpu-policy 3
|
||||
add resource
|
||||
ashi
|
||||
2
|
||||
add resource
|
||||
forchetta
|
||||
1
|
||||
add process
|
||||
Scuola di Mileto
|
||||
0
|
||||
0
|
||||
add thread 1
|
||||
Anassimandro
|
||||
4
|
||||
0
|
||||
0
|
||||
|
||||
add thread 1
|
||||
Anassimene
|
||||
6
|
||||
1
|
||||
0
|
||||
|
||||
add thread 1
|
||||
Pitagora
|
||||
2
|
||||
1
|
||||
0
|
||||
|
||||
add request 1 1
|
||||
0
|
||||
add subrequest 1 1 1
|
||||
1
|
||||
4
|
||||
|
||||
add request 1 1
|
||||
2
|
||||
add subrequest 1 1 2
|
||||
1
|
||||
3
|
||||
|
||||
add request 1 2
|
||||
0
|
||||
add subrequest 1 2 1
|
||||
1
|
||||
2
|
||||
|
||||
add request 1 3
|
||||
0
|
||||
add subrequest 1 3 1
|
||||
1
|
||||
2
|
||||
|
||||
|
||||
load environments/ScuolaDiMileto_block_fail.xgp
|
||||
|
||||
run
|
||||
|
|
|
@ -1,212 +1,5 @@
|
|||
set cpu-policy 2
|
||||
|
||||
add resource
|
||||
forchetta
|
||||
1
|
||||
|
||||
add resource
|
||||
ashi
|
||||
2
|
||||
|
||||
add resource
|
||||
dita
|
||||
10
|
||||
|
||||
|
||||
|
||||
add process (name, arrival time, base priority)
|
||||
Toru
|
||||
1
|
||||
3
|
||||
add thread 1 (name, required cput time, arrival time, base priority)
|
||||
toru-kun
|
||||
4
|
||||
0
|
||||
3
|
||||
|
||||
add process (name, arrival time, base priority)
|
||||
Yuki
|
||||
4
|
||||
2
|
||||
add thread 2 (name, required cput time, arrival time, base priority)
|
||||
yun-yun
|
||||
3
|
||||
0
|
||||
2
|
||||
|
||||
|
||||
add process (name, arrival time, base priority)
|
||||
Kyo
|
||||
4
|
||||
4
|
||||
add thread 3 (name, required cput time, arrival time, base priority)
|
||||
kyon-kyon
|
||||
1
|
||||
0
|
||||
4
|
||||
|
||||
add process (name, arrival time, base priority)
|
||||
Shigure
|
||||
6
|
||||
0
|
||||
add thread 4 (name, required cput time, arrival time, base priority)
|
||||
gure
|
||||
1
|
||||
0
|
||||
0
|
||||
add request 4 1
|
||||
0
|
||||
add subrequest 4 1 1
|
||||
0
|
||||
1
|
||||
add subrequest 4 1 1
|
||||
2
|
||||
3
|
||||
add subrequest 4 1 1
|
||||
2
|
||||
4
|
||||
|
||||
|
||||
|
||||
add process (name, arrival time, base priority)
|
||||
Kagura
|
||||
6
|
||||
5
|
||||
add thread 5 (name, required cput time, arrival time, base priority)
|
||||
kagura
|
||||
10
|
||||
0
|
||||
5
|
||||
add request 5 1
|
||||
0
|
||||
add subrequest 5 1 1
|
||||
0
|
||||
5
|
||||
add subrequest 5 1 1
|
||||
2
|
||||
3
|
||||
add request 5 1
|
||||
5
|
||||
add subrequest 5 1 2
|
||||
2
|
||||
3
|
||||
add subrequest 5 1 2
|
||||
2
|
||||
3
|
||||
|
||||
|
||||
|
||||
add process (name, arrival time, base priority)
|
||||
Momiji
|
||||
12
|
||||
0
|
||||
add thread 6 (name, required cput time, arrival time, base priority)
|
||||
momiji-kun
|
||||
1
|
||||
0
|
||||
0
|
||||
|
||||
add process (name, arrival time, base priority)
|
||||
Hatori
|
||||
14
|
||||
0
|
||||
add thread 7 (name, required cput time, arrival time, base priority)
|
||||
tori
|
||||
1
|
||||
0
|
||||
0
|
||||
|
||||
add process (name, arrival time, base priority)
|
||||
Hatsuharu
|
||||
15
|
||||
0
|
||||
add thread 8 (name, required cput time, arrival time, base priority)
|
||||
haru
|
||||
1
|
||||
0
|
||||
0
|
||||
|
||||
add process (name, arrival time, base priority)
|
||||
Ayame
|
||||
15
|
||||
0
|
||||
add thread 9 (name, required cput time, arrival time, base priority)
|
||||
aya
|
||||
6
|
||||
0
|
||||
0
|
||||
add request 9 1
|
||||
2
|
||||
add subrequest 9 1 1
|
||||
2
|
||||
3
|
||||
add subrequest 9 1 1
|
||||
2
|
||||
3
|
||||
add subrequest 9 1 1
|
||||
2
|
||||
3
|
||||
add subrequest 9 1 1
|
||||
2
|
||||
3
|
||||
add subrequest 9 1 1
|
||||
2
|
||||
3
|
||||
add subrequest 9 1 1
|
||||
2
|
||||
3
|
||||
add subrequest 9 1 1
|
||||
2
|
||||
3
|
||||
add subrequest 9 1 1
|
||||
2
|
||||
3
|
||||
add subrequest 9 1 1
|
||||
2
|
||||
3
|
||||
add subrequest 9 1 1
|
||||
2
|
||||
3
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
add process (name, arrival time, base priority)
|
||||
Kisa
|
||||
17
|
||||
0
|
||||
add thread 10 (name, required cput time, arrival time, base priority)
|
||||
kisa
|
||||
2
|
||||
0
|
||||
0
|
||||
|
||||
add request 10 1
|
||||
1
|
||||
add subrequest 10 1 1
|
||||
1
|
||||
3
|
||||
add subrequest 10 1 1
|
||||
2
|
||||
3
|
||||
|
||||
|
||||
add process (name, arrival time, base priority)
|
||||
Ritsu
|
||||
16
|
||||
0
|
||||
add thread 11 (name, required cput time, arrival time, base priority)
|
||||
ri
|
||||
2
|
||||
0
|
||||
0
|
||||
add request 11 1
|
||||
0
|
||||
add subrequest 11 1 1
|
||||
0
|
||||
1
|
||||
|
||||
|
||||
load environments/FruitsBasket_complex.xgp
|
||||
|
||||
run
|
||||
|
|
|
@ -4,52 +4,6 @@ configure-cpu-policy
|
|||
0
|
||||
1
|
||||
|
||||
add resource
|
||||
scythe
|
||||
1
|
||||
add resource
|
||||
sword
|
||||
1
|
||||
|
||||
|
||||
add process
|
||||
Antrophomorphic personification
|
||||
0
|
||||
0
|
||||
|
||||
add thread 1
|
||||
Death
|
||||
4
|
||||
0
|
||||
0
|
||||
add thread 1
|
||||
Susan Sto Helit
|
||||
4
|
||||
0
|
||||
0
|
||||
|
||||
add request 1 1
|
||||
0
|
||||
add subrequest 1 1 1
|
||||
0
|
||||
2
|
||||
|
||||
add request 1 1
|
||||
1
|
||||
add subrequest 1 1 2
|
||||
1
|
||||
2
|
||||
|
||||
add request 1 2
|
||||
0
|
||||
add subrequest 1 2 1
|
||||
1
|
||||
2
|
||||
|
||||
add request 1 2
|
||||
1
|
||||
add subrequest 1 2 2
|
||||
0
|
||||
2
|
||||
load environments/Matteo_deadlock.xgp
|
||||
|
||||
run
|
||||
|
|
|
@ -1,51 +1,5 @@
|
|||
set cpu-policy 2
|
||||
|
||||
add resource
|
||||
forchetta
|
||||
1
|
||||
|
||||
add process
|
||||
Pitagorici
|
||||
0
|
||||
0
|
||||
|
||||
add thread 1
|
||||
Pitagora
|
||||
5
|
||||
0
|
||||
0
|
||||
add request 1 1
|
||||
0
|
||||
add subrequest 1 1 1
|
||||
0
|
||||
5
|
||||
|
||||
|
||||
add process
|
||||
Scuola di Mileto
|
||||
2
|
||||
1
|
||||
|
||||
add thread 2
|
||||
Anassimene
|
||||
4
|
||||
1
|
||||
0
|
||||
|
||||
|
||||
add thread 2
|
||||
Anassimandro
|
||||
2
|
||||
0
|
||||
0
|
||||
add request 2 2
|
||||
0
|
||||
add subrequest 2 2 1
|
||||
0
|
||||
1
|
||||
add subrequest 2 2 1
|
||||
0
|
||||
2
|
||||
|
||||
load environments/ScuolaDiMileto_gap_blocked.xgp
|
||||
|
||||
run
|
||||
|
|
|
@ -1,69 +1,6 @@
|
|||
set cpu-policy 3
|
||||
|
||||
add resource
|
||||
forchetta
|
||||
1
|
||||
|
||||
add process
|
||||
Pitagorici
|
||||
0
|
||||
0
|
||||
|
||||
add thread 1
|
||||
Pitagora
|
||||
4
|
||||
0
|
||||
0
|
||||
|
||||
add request 1 1
|
||||
0
|
||||
|
||||
add subrequest 1 1 1
|
||||
0
|
||||
4
|
||||
add subrequest 1 1 1
|
||||
0
|
||||
4
|
||||
|
||||
|
||||
add request 1 1
|
||||
2
|
||||
|
||||
add subrequest 1 1 2
|
||||
0
|
||||
4
|
||||
|
||||
|
||||
add process
|
||||
Scuola di Mileto
|
||||
3
|
||||
0
|
||||
|
||||
add thread 2
|
||||
Anassimene
|
||||
6
|
||||
0
|
||||
0
|
||||
|
||||
add thread 2
|
||||
Anassimandro
|
||||
2
|
||||
0
|
||||
0
|
||||
|
||||
|
||||
add request 2 1
|
||||
0
|
||||
add subrequest 2 1 1
|
||||
0
|
||||
2
|
||||
|
||||
add request 2 2
|
||||
0
|
||||
add subrequest 2 2 1
|
||||
0
|
||||
2
|
||||
|
||||
|
||||
load environments/ScuolaDiMileto_gap_fail.xgp
|
||||
|
||||
run
|
||||
|
||||
|
|
|
@ -1,30 +1,5 @@
|
|||
set cpu-policy 1
|
||||
|
||||
|
||||
|
||||
|
||||
add process
|
||||
Rivoluzione
|
||||
0
|
||||
1
|
||||
|
||||
add thread 1
|
||||
Copernico
|
||||
3
|
||||
0
|
||||
0
|
||||
|
||||
|
||||
add thread 1
|
||||
Bruno
|
||||
2
|
||||
3
|
||||
0
|
||||
|
||||
add thread 1
|
||||
Galilei
|
||||
3
|
||||
6
|
||||
0
|
||||
load environments/Modernita_gap_terminated.xgp
|
||||
|
||||
run
|
||||
|
|
|
@ -29,58 +29,7 @@ configure-cpu-policy
|
|||
1
|
||||
1
|
||||
|
||||
add resource
|
||||
Jenna Jameson
|
||||
2
|
||||
load environments/Porno_priority_inversion.xgp
|
||||
|
||||
add process
|
||||
"Wet Dreams IV"
|
||||
0
|
||||
0
|
||||
|
||||
add thread 1
|
||||
Peter North
|
||||
3
|
||||
0
|
||||
10
|
||||
|
||||
add request 1 1
|
||||
0
|
||||
add subrequest 1 1 1
|
||||
0
|
||||
3
|
||||
|
||||
|
||||
add process
|
||||
"A Night With Jenna"
|
||||
2
|
||||
0
|
||||
|
||||
add thread 2
|
||||
Rocco Siffredi
|
||||
3
|
||||
0
|
||||
0
|
||||
|
||||
add thread 2
|
||||
Mandingo
|
||||
3
|
||||
0
|
||||
5
|
||||
|
||||
add request 2 1
|
||||
0
|
||||
add subrequest 2 1 1
|
||||
0
|
||||
3
|
||||
add subrequest 2 1 1
|
||||
0
|
||||
3
|
||||
|
||||
add request 2 2
|
||||
0
|
||||
add subrequest 2 2 1
|
||||
0
|
||||
3
|
||||
|
||||
run
|
||||
|
|
|
@ -4,61 +4,6 @@ configure-cpu-policy
|
|||
0
|
||||
2
|
||||
|
||||
add resource
|
||||
Telefono
|
||||
1
|
||||
|
||||
add resource
|
||||
Fax
|
||||
1
|
||||
|
||||
|
||||
|
||||
add process
|
||||
Ufficio Sinistri
|
||||
0
|
||||
5
|
||||
|
||||
add thread 1
|
||||
Fantozzi
|
||||
7
|
||||
0
|
||||
5
|
||||
add request 1 1
|
||||
0
|
||||
add subrequest 1 1 1
|
||||
0
|
||||
7
|
||||
|
||||
add thread 1
|
||||
Filini
|
||||
3
|
||||
2
|
||||
4
|
||||
add request 1 2
|
||||
0
|
||||
add subrequest 1 2 1
|
||||
0
|
||||
3
|
||||
add subrequest 1 2 1
|
||||
1
|
||||
3
|
||||
|
||||
|
||||
add thread 1
|
||||
Signorina Silvani
|
||||
4
|
||||
4
|
||||
3
|
||||
add request 1 3
|
||||
0
|
||||
add subrequest 1 3 1
|
||||
0
|
||||
2
|
||||
add subrequest 1 3 1
|
||||
1
|
||||
2
|
||||
|
||||
|
||||
load environments/Fantozzi_lifo_requests.xgp
|
||||
|
||||
run
|
||||
|
|
|
@ -4,38 +4,7 @@ configure-cpu-policy
|
|||
0
|
||||
1
|
||||
|
||||
add resource
|
||||
banana
|
||||
1
|
||||
|
||||
|
||||
|
||||
add process
|
||||
Unseen University
|
||||
0
|
||||
0
|
||||
|
||||
add thread 1
|
||||
The Librarian
|
||||
4
|
||||
0
|
||||
0
|
||||
add thread 1
|
||||
Rincewind
|
||||
2
|
||||
0
|
||||
0
|
||||
|
||||
add request 1 1
|
||||
0
|
||||
add subrequest 1 1 1
|
||||
0
|
||||
3
|
||||
|
||||
add request 1 2
|
||||
1
|
||||
add subrequest 1 2 1
|
||||
0
|
||||
2
|
||||
load environments/DiscWorld_unblock.xgp
|
||||
|
||||
run
|
||||
|
|
Loading…
Reference in New Issue