this->refresh_malloc_info();
return this->heap_info.data();
}
+ /* Get the amount of memory mallocated in the remote process (requires mmalloc) */
+ std::size_t get_remote_heap_bytes();
void clear_cache() { this->cache_flags_ = RemoteProcess::cache_none; }
std::vector<s_stack_region_t> stack_areas_;
std::vector<IgnoredHeapRegion> ignored_heap_;
- // Copies of MCed SMX data structures
- /** Copy of `EngineImpl::actor_list_`
- *
- * See mc_smx.cpp.
- */
- std::vector<ActorInformation> smx_actors_infos;
-
/** State of the cache (which variables are up to date) */
int cache_flags_ = RemoteProcess::cache_none;
* This is not used if the process is the current one:
* use `get_heap_info()` in order to use it.
*/
- std::unique_ptr<s_xbt_mheap_t> heap;
+ std::unique_ptr<s_xbt_mheap_t> heap = std::make_unique<s_xbt_mheap_t>();
/** Copy of the allocation info structure
*