- simgrid::mc::RemoteClient* process = &(mc_model_checker->process());
- 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->system_state = simgrid::mc::take_snapshot(state_number);
- this->original_num = -1;
+ this->heap_bytes_used = mc_model_checker->get_remote_process().get_remote_heap_bytes();
+ this->system_state = std::make_shared<simgrid::mc::Snapshot>(state_number);