#include "simgrid/s4u/Host.hpp"
#include "simgrid/s4u/Storage.hpp"
-#include "src/surf/FileImpl.hpp"
+#include "smx_private.hpp"
+#include "src/simix/smx_io_private.hpp"
#include "src/surf/HostImpl.hpp"
#include "src/surf/StorageImpl.hpp"
-#include "surf/surf.hpp"
-
-#include "smx_private.hpp"
#include "src/surf/surf_interface.hpp"
+#include "surf/surf.hpp"
#include "src/kernel/activity/SynchroIo.hpp"
simgrid::kernel::activity::IoImpl* synchro = new simgrid::kernel::activity::IoImpl();
synchro->surf_io = st->read(size);
- synchro->surf_io->setData(synchro);
+ synchro->surf_io->set_data(synchro);
XBT_DEBUG("Create io synchro %p", synchro);
return synchro;
{
simgrid::kernel::activity::IoImpl* synchro = new simgrid::kernel::activity::IoImpl();
synchro->surf_io = st->write(size);
- synchro->surf_io->setData(synchro);
+ synchro->surf_io->set_data(synchro);
XBT_DEBUG("Create io synchro %p", synchro);
return synchro;