X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b99c0d78b25704a61225be8a8b5c47b246afe22a..a619bfb1b9a3769e775975828e35541111290665:/src/mc/Process.hpp diff --git a/src/mc/Process.hpp b/src/mc/Process.hpp index 07f510c931..19c2e5eb4e 100644 --- a/src/mc/Process.hpp +++ b/src/mc/Process.hpp @@ -19,7 +19,7 @@ #include -#include +#include "xbt/base.h" #include #include "src/xbt/mmalloc/mmprivate.h" @@ -143,17 +143,17 @@ public: // Heap access: xbt_mheap_t get_heap() { - if (!(this->cache_flags_ & Process::cache_heap)) + if (not(this->cache_flags_ & Process::cache_heap)) this->refresh_heap(); return this->heap.get(); } const malloc_info* get_malloc_info() { - if (!(this->cache_flags_ & Process::cache_malloc)) + if (not(this->cache_flags_ & Process::cache_malloc)) this->refresh_malloc_info(); return this->heap_info.data(); } - + void clear_cache() { this->cache_flags_ = Process::cache_none; @@ -226,7 +226,7 @@ public: simgrid::mc::ActorInformation* resolveActorInfo(simgrid::mc::RemotePtr actor) { xbt_assert(mc_model_checker != nullptr); - if (!actor) + if (not actor) return nullptr; this->refresh_simix(); for (auto& actor_info : this->smx_actors_infos) @@ -261,7 +261,8 @@ private: Channel channel_; bool running_ = false; std::vector memory_map_; - RemotePtr maestro_stack_start_, maestro_stack_end_; + RemotePtr maestro_stack_start_; + RemotePtr maestro_stack_end_; int memory_file = -1; std::vector ignored_regions_; bool privatized_ = false;