#include "simgrid/Exception.hpp"
#include "simgrid/kernel/resource/Action.hpp"
#include "simgrid/s4u/Host.hpp"
+#include "src/kernel/actor/ActorImpl.hpp"
#include "src/kernel/context/Context.hpp"
#include "src/simix/popping_private.hpp"
-#include "src/simix/smx_private.hpp"
#include "src/surf/cpu_interface.hpp"
#include "src/surf/surf_interface.hpp"
SleepImpl* SleepImpl::start()
{
- surf_action_ = host_->pimpl_cpu->sleep(duration_);
+ surf_action_ = host_->get_cpu()->sleep(duration_);
surf_action_->set_activity(this);
XBT_DEBUG("Create sleep synchronization %p", this);
return this;