X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/17d305e0f3a8c6f813bda1aacad5891d67fd1e3c..2fcc135ed60645b200d4d865b826cc0ba71e65f2:/src/smpi/include/smpi_actor.hpp diff --git a/src/smpi/include/smpi_actor.hpp b/src/smpi/include/smpi_actor.hpp index 95e34655c8..61ae4bc128 100644 --- a/src/smpi/include/smpi_actor.hpp +++ b/src/smpi/include/smpi_actor.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2009-2019. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2009-2020. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -9,7 +9,6 @@ #include "private.hpp" #include "simgrid/s4u/Mailbox.hpp" #include "src/instr/instr_smpi.hpp" -#include "xbt/synchro.h" namespace simgrid { namespace smpi { @@ -28,7 +27,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 */ @@ -45,10 +44,11 @@ class ActorExt { int papi_event_set_; papi_counter_t papi_counter_data_; #endif + 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();