argv_ = argv;
// set the process attached to the mailbox
mailbox_small_->setReceiver(simgrid::s4u::Actor::self());
+ process_ = SIMIX_process_self();
XBT_DEBUG("<%d> New process in the game: %p", index, SIMIX_process_self());
}
return data_;
}
+smx_actor_t Process::process(){
+ return process_;
+}
+
/**
* \brief Returns a structure that stores the location (filename + linenumber)
msg_bar_t finalization_barrier_;
int return_value_;
smpi_trace_call_location_t trace_call_loc_;
+ smx_actor_t process_;
#if HAVE_PAPI
/** Contains hardware data as read by PAPI **/
int papi_event_set_;
int return_value();
void set_return_value(int val);
static void init(int *argc, char ***argv);
+ smx_actor_t process();
};