A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move mc:api::get_remote_heap_bytes() to RemoteProcess
[simgrid.git]
/
src
/
mc
/
remote
/
RemoteProcess.hpp
diff --git
a/src/mc/remote/RemoteProcess.hpp
b/src/mc/remote/RemoteProcess.hpp
index
924aa56
..
c2244f3
100644
(file)
--- a/
src/mc/remote/RemoteProcess.hpp
+++ b/
src/mc/remote/RemoteProcess.hpp
@@
-125,6
+125,8
@@
public:
this->refresh_malloc_info();
return this->heap_info.data();
}
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; }
void clear_cache() { this->cache_flags_ = RemoteProcess::cache_none; }
@@
-184,13
+186,6
@@
private:
std::vector<s_stack_region_t> stack_areas_;
std::vector<IgnoredHeapRegion> ignored_heap_;
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;
/** State of the cache (which variables are up to date) */
int cache_flags_ = RemoteProcess::cache_none;