Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fortran : protect in case some calls return success, but with a null request.
[simgrid.git] / src / mc / VisitedState.cpp
index b586034ddf075d8d07ad759a94b2ca263749524c..2216f0793d2f6abced3928cf73e9d8f97db54846 100644 (file)
@@ -19,12 +19,12 @@ namespace mc {
 /** @brief Save the current state */
 VisitedState::VisitedState(unsigned long state_number) : num(state_number)
 {
-  simgrid::mc::RemoteClientMemory* process = &(mc_model_checker->process());
+  simgrid::mc::RemoteSimulation* process = &(mc_model_checker->get_remote_simulation());
   this->heap_bytes_used = mmalloc_get_bytes_used_remote(
     process->get_heap()->heaplimit,
     process->get_malloc_info());
 
-  this->actors_count = mc_model_checker->process().actors().size();
+  this->actors_count = mc_model_checker->get_remote_simulation().actors().size();
 
   this->system_state = std::make_shared<simgrid::mc::Snapshot>(state_number);
 }