X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5ce851fd1da99bbe6b7884e8064de96248ac6b58..72884f9c682441d0a9de0f2df63b47cde7822058:/src/kernel/actor/ActorImpl.cpp diff --git a/src/kernel/actor/ActorImpl.cpp b/src/kernel/actor/ActorImpl.cpp index dbc2a553be..801eb53524 100644 --- a/src/kernel/actor/ActorImpl.cpp +++ b/src/kernel/actor/ActorImpl.cpp @@ -3,23 +3,15 @@ /* 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. */ -#include "simgrid/s4u/Actor.hpp" -#include "mc/mc.h" -#include "simgrid/Exception.hpp" -#include "simgrid/s4u/Exec.hpp" +#include +#include +#include + #include "src/kernel/EngineImpl.hpp" -#include "src/kernel/activity/CommImpl.hpp" -#include "src/kernel/activity/ExecImpl.hpp" -#include "src/kernel/activity/IoImpl.hpp" -#include "src/kernel/activity/SleepImpl.hpp" -#include "src/kernel/activity/SynchroRaw.hpp" -#include "src/mc/mc_replay.hpp" -#include "src/mc/remote/AppSide.hpp" #if HAVE_SMPI #include "src/smpi/include/private.hpp" #endif #include "src/surf/HostImpl.hpp" -#include "src/surf/cpu_interface.hpp" #include #include @@ -34,7 +26,7 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_process, simix, "Logging specific to SIMIX * * @return The SIMIX process */ -smx_actor_t SIMIX_process_self() +smx_actor_t SIMIX_process_self() // XBT_ATTRIB_DEPRECATED_v333 { return simgrid::kernel::actor::ActorImpl::self(); } @@ -527,7 +519,7 @@ void create_maestro(const std::function& code) } // namespace simgrid /* needs to be public and without simcall because it is called by exceptions and logging events */ -const char* SIMIX_process_self_get_name() +const char* SIMIX_process_self_get_name() // XBT_ATTRIB_DEPRECATED_v333 { return SIMIX_is_maestro() ? "maestro" : simgrid::kernel::actor::ActorImpl::self()->get_cname(); }