#include "mc/mc.h"
#include "smpi_comm.hpp"
#include "src/mc/mc_replay.hpp"
-#include "src/msg/msg_private.hpp"
#include "src/simix/smx_private.hpp"
#if HAVE_PAPI
if (barrier != nullptr) // don't overwrite the current one if the instance has none
finalization_barrier_ = barrier;
- static_cast<simgrid::msg::ActorExt*>(actor_->get_impl()->get_user_data())->data = this;
-
if (*argc > 3) {
memmove(&(*argv)[0], &(*argv)[2], sizeof(char*) * (*argc - 2));
(*argv)[(*argc) - 1] = nullptr;
return replaying_;
}
-void ActorExt::set_user_data(void* data)
-{
- data_ = data;
-}
-
-void* ActorExt::get_user_data()
-{
- return data_;
-}
-
ActorPtr ActorExt::get_actor()
{
return actor_;
}
/**
- * \brief Returns a structure that stores the location (filename + linenumber) of the last calls to MPI_* functions.
+ * @brief Returns a structure that stores the location (filename + linenumber) of the last calls to MPI_* functions.
*
- * \see smpi_trace_set_call_location
+ * @see smpi_trace_set_call_location
*/
smpi_trace_call_location_t* ActorExt::call_location()
{
}
if (argc != nullptr && argv != nullptr) {
simgrid::s4u::ActorPtr proc = simgrid::s4u::Actor::self();
- proc->get_impl()->context_->set_cleanup(&MSG_process_cleanup_from_SIMIX);
+ proc->get_impl()->context_->set_cleanup(&SIMIX_process_cleanup);
char* instance_id = (*argv)[1];
try {