-simgrid::kernel::activity::IoImplPtr SIMIX_io_start(std::string name, sg_size_t size, sg_storage_t storage,
- simgrid::s4u::Io::OpType type)
-{
- /* set surf's action */
- simgrid::kernel::resource::Action* surf_action = storage->get_impl()->io_start(size, type);
-
- simgrid::kernel::activity::IoImplPtr io =
- simgrid::kernel::activity::IoImplPtr(new simgrid::kernel::activity::IoImpl(name, surf_action, storage));
-
- XBT_DEBUG("Create IO synchro %p %s", io.get(), name.c_str());
- simgrid::kernel::activity::IoImpl::on_creation(io);
-
- return io;
-}
-