- Completed renaming of class SchedulableList to SchedulableQueue
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@603 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
4508ed017b
commit
8062dd95da
|
@ -148,7 +148,7 @@ src_backend_libbackend_la_SOURCES = \
|
|||
src/backend/policy_parameters.cc \
|
||||
src/backend/process.cc \
|
||||
src/backend/schedulable.cc \
|
||||
src/backend/schedulable_list.cc \
|
||||
src/backend/schedulable_queue.cc \
|
||||
src/backend/schedulable_status.cc \
|
||||
src/backend/scheduler.cc \
|
||||
src/backend/slice.cc \
|
||||
|
@ -166,7 +166,7 @@ pkginclude_HEADERS = \
|
|||
src/backend/policy_parameters.hh \
|
||||
src/backend/process.hh \
|
||||
src/backend/schedulable.hh \
|
||||
src/backend/schedulable_list.hh \
|
||||
src/backend/schedulable_queue.hh \
|
||||
src/backend/schedulable_status.hh \
|
||||
src/backend/scheduler.hh \
|
||||
src/backend/slice.hh \
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#include "policy.hh"
|
||||
#include "policy_parameters.hh"
|
||||
#include "schedulable.hh"
|
||||
#include "schedulable_list.hh"
|
||||
#include "schedulable_queue.hh"
|
||||
#include "schedulable_status.hh"
|
||||
#include "scheduler.hh"
|
||||
%}
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include "../python_policy_manager.hh"
|
||||
#include "../python_policy.hh"
|
||||
#include "global_settings.hh"
|
||||
#include "schedulable_list.hh"
|
||||
#include "schedulable_queue.hh"
|
||||
#include "scheduler.hh"
|
||||
#include "user_interrupt_exception.hh"
|
||||
|
||||
|
|
|
@ -37,8 +37,8 @@
|
|||
./src/backend/schedulable_status.hh
|
||||
./src/backend/process.cc
|
||||
./src/backend/process.hh
|
||||
./src/backend/schedulable_list.cc
|
||||
./src/backend/schedulable_list.hh
|
||||
./src/backend/schedulable_queue.cc
|
||||
./src/backend/schedulable_queue.hh
|
||||
./src/standard_io.cc
|
||||
./src/standard_io.hh
|
||||
./src/text_simulation.cc
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
#include "slice.hh"
|
||||
#include "observed_subject.hh"
|
||||
#include "schedulable_list.hh"
|
||||
#include "schedulable_queue.hh"
|
||||
#include "schedulable_status.hh"
|
||||
#include "../templates/smartp.hh"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// src/backend/schedulable_list.cc - Copyright 2005, 2006, University
|
||||
// src/backend/schedulable_queue.cc - Copyright 2005, 2006, University
|
||||
// of Padova, dept. of Pure and Applied
|
||||
// Mathematics
|
||||
//
|
||||
|
@ -18,7 +18,7 @@
|
|||
// along with SGPEMv2; if not, write to the Free Software
|
||||
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
#include "schedulable_list.hh"
|
||||
#include "schedulable_queue.hh"
|
||||
|
||||
using namespace sgpem;
|
||||
using namespace std;
|
|
@ -1,4 +1,4 @@
|
|||
// src/backend/schedulable_list.hh - Copyright 2005, 2006, University
|
||||
// src/backend/schedulable_queue.hh - Copyright 2005, 2006, University
|
||||
// of Padova, dept. of Pure and Applied
|
||||
// Mathematics
|
||||
//
|
|
@ -34,7 +34,7 @@ namespace sgpem
|
|||
|
||||
#include "observed_subject.hh"
|
||||
#include "history.hh"
|
||||
#include "schedulable_list.hh"
|
||||
#include "schedulable_queue.hh"
|
||||
#include "user_interrupt_exception.hh"
|
||||
|
||||
namespace sgpem
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include "schedulable_list.hh"
|
||||
#include "schedulable_queue.hh"
|
||||
|
||||
namespace sgpem
|
||||
{
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#include "templates/smartp.hh"
|
||||
#include "backend/history.hh"
|
||||
#include "backend/schedulable.hh"
|
||||
#include "backend/schedulable_list.hh"
|
||||
#include "backend/schedulable_queue.hh"
|
||||
#include "backend/schedulable_status.hh"
|
||||
#include "backend/slice.hh"
|
||||
#include "backend/process.hh"
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#include "backend/process.hh"
|
||||
#include "backend/slice.hh"
|
||||
#include "backend/observed_subject.hh"
|
||||
#include "backend/schedulable_list.hh"
|
||||
#include "backend/schedulable_queue.hh"
|
||||
#include "backend/schedulable_status.hh"
|
||||
#include "templates/smartp.hh"
|
||||
|
||||
|
@ -46,7 +46,7 @@ class HistoryTester
|
|||
{
|
||||
public:
|
||||
HistoryTester(SchedulableQueue sl)
|
||||
: _history_length(-1), _internal_schedulable_list(sl)
|
||||
: _history_length(-1), _internal_schedulable_queue(sl)
|
||||
{}
|
||||
|
||||
/** this method gets a sequence of operations as a parameter and performs them
|
||||
|
@ -63,10 +63,10 @@ public:
|
|||
switch(commands_sequence[i])
|
||||
{
|
||||
case 'E':
|
||||
_insert(_internal_schedulable_list);
|
||||
_insert(_internal_schedulable_queue);
|
||||
break;
|
||||
case 'R':
|
||||
_randomize(_internal_schedulable_list);
|
||||
_randomize(_internal_schedulable_queue);
|
||||
break;
|
||||
case 'T':
|
||||
_truncate();
|
||||
|
@ -84,7 +84,7 @@ public:
|
|||
int _history_length; // mirrors the correct length of the history
|
||||
SchedulableQueue* _get_simulation_status_at[400]; // mirrors the correct content of the history
|
||||
SchedulableStatus* _get_scheduled_at[400]; // mirrors the correct content of the history
|
||||
SchedulableQueue _internal_schedulable_list;
|
||||
SchedulableQueue _internal_schedulable_queue;
|
||||
|
||||
|
||||
// looks for anomalies
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
#include "backend/process.hh"
|
||||
#include "backend/slice.hh"
|
||||
#include "backend/observed_subject.hh"
|
||||
#include "backend/schedulable_list.hh"
|
||||
#include "backend/schedulable_queue.hh"
|
||||
#include "backend/schedulable_status.hh"
|
||||
|
||||
namespace sgpem
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#include <iostream>
|
||||
#include "backend/process.hh"
|
||||
#include "backend/observed_subject.hh"
|
||||
#include "backend/schedulable_list.hh"
|
||||
#include "backend/schedulable_queue.hh"
|
||||
#include "backend/schedulable_status.hh"
|
||||
#include "templates/smartp.hh"
|
||||
|
||||
|
|
Loading…
Reference in New Issue