Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove unused swag hookups.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sat, 2 Dec 2017 14:03:21 +0000 (15:03 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sun, 3 Dec 2017 20:36:48 +0000 (21:36 +0100)
src/mc/mc_global.cpp
src/simix/ActorImpl.hpp
src/surf/surf_interface.hpp

index b143298..c04b5f3 100644 (file)
@@ -99,10 +99,6 @@ void MC_run()
   simgrid::mc::processes_time.resize(SIMIX_process_get_maxpid());
   MC_ignore_heap(simgrid::mc::processes_time.data(),
     simgrid::mc::processes_time.size() * sizeof(simgrid::mc::processes_time[0]));
-  for (auto const& kv : simix_global->process_list) {
-    smx_actor_t actor = kv.second;
-    MC_ignore_heap(&(actor->process_hookup), sizeof(actor->process_hookup));
-  }
   simgrid::mc::Client::get()->mainLoop();
   simgrid::mc::processes_time.clear();
 }
index 06d42dc..b0c3b44 100644 (file)
@@ -38,7 +38,6 @@ public:
   ~ActorImpl();
 
   // TODO, replace with boost intrusive container hooks
-  s_xbt_swag_hookup_t process_hookup   = { nullptr, nullptr }; /* simix_global->process_list */
   s_xbt_swag_hookup_t synchro_hookup   = { nullptr, nullptr }; /* {mutex,cond,sem}->sleeping */
   s_xbt_swag_hookup_t host_proc_hookup = { nullptr, nullptr }; /* smx_host->process_lis */
   s_xbt_swag_hookup_t destroy_hookup   = { nullptr, nullptr }; /* simix_global->process_to_destroy */
index 3809ade..339df0d 100644 (file)
@@ -239,8 +239,6 @@ public:
   /** @brief Get the state set in which the action is */
   ActionList* getStateSet() const { return stateSet_; };
 
-  s_xbt_swag_hookup_t stateHookup_ = {nullptr,nullptr};
-
   simgrid::surf::Model* getModel() const { return model_; }
 
 protected: