X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7e3052a90110227b0628cfde015552c1dd154563..efa1f86e31adca3c57e9d0135b2f6ebdbabb0878:/src/smpi/include/smpi_actor.hpp diff --git a/src/smpi/include/smpi_actor.hpp b/src/smpi/include/smpi_actor.hpp index f68549e6fe..de11f688ec 100644 --- a/src/smpi/include/smpi_actor.hpp +++ b/src/smpi/include/smpi_actor.hpp @@ -28,7 +28,7 @@ class ActorExt { std::string instance_id_; bool replaying_ = false; /* is the process replaying a trace */ smpi_trace_call_location_t trace_call_loc_; - s4u::ActorPtr actor_ = nullptr; + s4u::Actor* actor_ = nullptr; smpi_privatization_region_t privatized_region_ = nullptr; #ifdef __linux__ int optind_ = 0; /*for getopt replacement */ @@ -37,7 +37,9 @@ class ActorExt { #endif std::string tracing_category_ = ""; MPI_Info info_env_; - + void* bsend_buffer_ = nullptr; + int bsend_buffer_size_ = 0; + #if HAVE_PAPI /** Contains hardware data as read by PAPI **/ int papi_event_set_; @@ -46,7 +48,7 @@ class ActorExt { public: static simgrid::xbt::Extension EXTENSION_ID; - explicit ActorExt(s4u::ActorPtr actor); + explicit ActorExt(s4u::Actor* actor); ActorExt(const ActorExt&) = delete; ActorExt& operator=(const ActorExt&) = delete; ~ActorExt(); @@ -83,6 +85,8 @@ public: int get_optind(); void set_optind(int optind); MPI_Info info_env(); + void bsend_buffer(void** buf, int* size); + void set_bsend_buffer(void* buf, int size); }; } // namespace smpi