-changing SchedulableList to SchedulableQueue: intermediate commit,
so SVN can let me use "mv" git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@602 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
16acaf51d9
commit
4508ed017b
16 changed files with 70 additions and 70 deletions
10
src/main.cc
10
src/main.cc
|
@ -119,7 +119,7 @@ main(int argc, char* argv[])
|
|||
SchedulableStatus ss5(p5);
|
||||
SchedulableStatus ss6(p6);
|
||||
|
||||
SchedulableList initial;
|
||||
SchedulableQueue initial;
|
||||
initial.add_at_bottom(ss1);
|
||||
initial.add_at_bottom(ss2);
|
||||
initial.add_at_bottom(ss3);
|
||||
|
@ -151,17 +151,17 @@ main(int argc, char* argv[])
|
|||
|
||||
// ************** TEST HISTORY
|
||||
|
||||
SchedulableList l1;
|
||||
SchedulableQueue l1;
|
||||
l1.add_at_top(ss1); l1.add_at_top(ss2); l1.add_at_top(ss3);
|
||||
|
||||
SchedulableList l2;
|
||||
SchedulableQueue l2;
|
||||
l2.add_at_top(ss4); l2.add_at_top(ss5); l2.add_at_top(ss6);
|
||||
|
||||
History h(History::get_instance());
|
||||
h.enqueue_slice(l1); //stato iniziale
|
||||
h.enqueue_slice(l2);
|
||||
|
||||
smart_ptr<const sgpem::SchedulableList> quale;
|
||||
smart_ptr<const sgpem::SchedulableQueue> quale;
|
||||
|
||||
quale = h.get_simulation_status_at(0); //stato iniziale
|
||||
|
||||
|
@ -198,7 +198,7 @@ main(int argc, char* argv[])
|
|||
//************** TEST QUEUE
|
||||
/* cout << "\n\nTEST QUEUE\n";
|
||||
|
||||
SchedulableList sq;
|
||||
SchedulableQueue sq;
|
||||
sq.add_at_bottom(ss1);
|
||||
sq.add_at_bottom(ss2);
|
||||
sq.add_at_bottom(ss3);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue