From 8062dd95da3a254f150b1efdef5f67a6190be39b Mon Sep 17 00:00:00 2001 From: elvez Date: Sat, 3 Jun 2006 15:19:13 +0000 Subject: [PATCH] - Completed renaming of class SchedulableList to SchedulableQueue git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@603 3ecf2c5c-341e-0410-92b4-d18e462d057c --- Makefile.am | 4 ++-- plugins/pyloader/sgpem.i | 2 +- plugins/pyloader/testsuite/test-python_loader.cc | 2 +- po/POTFILES.in | 4 ++-- src/backend/history.hh | 2 +- .../{schedulable_list.cc => schedulable_queue.cc} | 4 ++-- .../{schedulable_list.hh => schedulable_queue.hh} | 2 +- src/backend/scheduler.hh | 2 +- src/backend/slice.hh | 2 +- src/main.cc | 2 +- src/testsuite/test-history.cc | 10 +++++----- src/testsuite/test-parse_command.cc | 2 +- src/testsuite/test-stepforward.cc | 2 +- 13 files changed, 20 insertions(+), 20 deletions(-) rename src/backend/{schedulable_list.cc => schedulable_queue.cc} (97%) rename src/backend/{schedulable_list.hh => schedulable_queue.hh} (97%) diff --git a/Makefile.am b/Makefile.am index 5244e96..c5447d6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 \ diff --git a/plugins/pyloader/sgpem.i b/plugins/pyloader/sgpem.i index 7e36373..cacbd7a 100644 --- a/plugins/pyloader/sgpem.i +++ b/plugins/pyloader/sgpem.i @@ -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" %} diff --git a/plugins/pyloader/testsuite/test-python_loader.cc b/plugins/pyloader/testsuite/test-python_loader.cc index eb0a2ad..d18c867 100644 --- a/plugins/pyloader/testsuite/test-python_loader.cc +++ b/plugins/pyloader/testsuite/test-python_loader.cc @@ -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" diff --git a/po/POTFILES.in b/po/POTFILES.in index a6c9b78..b30dc12 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -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 diff --git a/src/backend/history.hh b/src/backend/history.hh index 75ad052..4a13b88 100644 --- a/src/backend/history.hh +++ b/src/backend/history.hh @@ -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" diff --git a/src/backend/schedulable_list.cc b/src/backend/schedulable_queue.cc similarity index 97% rename from src/backend/schedulable_list.cc rename to src/backend/schedulable_queue.cc index 4c24d4a..ec48e55 100644 --- a/src/backend/schedulable_list.cc +++ b/src/backend/schedulable_queue.cc @@ -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; diff --git a/src/backend/schedulable_list.hh b/src/backend/schedulable_queue.hh similarity index 97% rename from src/backend/schedulable_list.hh rename to src/backend/schedulable_queue.hh index f42226b..8447379 100644 --- a/src/backend/schedulable_list.hh +++ b/src/backend/schedulable_queue.hh @@ -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 // diff --git a/src/backend/scheduler.hh b/src/backend/scheduler.hh index 85668ed..9ff8f8c 100644 --- a/src/backend/scheduler.hh +++ b/src/backend/scheduler.hh @@ -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 diff --git a/src/backend/slice.hh b/src/backend/slice.hh index 8c96389..310d542 100644 --- a/src/backend/slice.hh +++ b/src/backend/slice.hh @@ -23,7 +23,7 @@ #include "config.h" -#include "schedulable_list.hh" +#include "schedulable_queue.hh" namespace sgpem { diff --git a/src/main.cc b/src/main.cc index 0412390..9f53d0c 100644 --- a/src/main.cc +++ b/src/main.cc @@ -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" diff --git a/src/testsuite/test-history.cc b/src/testsuite/test-history.cc index 9c419da..f502f6f 100644 --- a/src/testsuite/test-history.cc +++ b/src/testsuite/test-history.cc @@ -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 diff --git a/src/testsuite/test-parse_command.cc b/src/testsuite/test-parse_command.cc index 96896a1..576d7fb 100644 --- a/src/testsuite/test-parse_command.cc +++ b/src/testsuite/test-parse_command.cc @@ -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 diff --git a/src/testsuite/test-stepforward.cc b/src/testsuite/test-stepforward.cc index f87ebe2..baadb76 100644 --- a/src/testsuite/test-stepforward.cc +++ b/src/testsuite/test-stepforward.cc @@ -33,7 +33,7 @@ #include #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"