return model->getRunningActionSet()->size();
}
-surf_action_t surf_host_open(sg_host_t host, const char* fullpath){
- return host->pimpl_->open(fullpath);
-}
-
surf_action_t surf_host_close(sg_host_t host, surf_file_t fd){
return host->pimpl_->close(fd);
}
return host->pimpl_->write(fd, size);
}
-xbt_dynar_t surf_host_get_info(sg_host_t host, surf_file_t fd){
- return host->pimpl_->getInfo(fd);
-}
-
size_t surf_host_file_tell(sg_host_t host, surf_file_t fd){
return host->pimpl_->fileTell(fd);
}
const char* surf_storage_get_host(surf_storage_t resource)
{
- return static_cast<simgrid::surf::StorageImpl*>(resource)->attach_;
+ return static_cast<simgrid::surf::StorageImpl*>(resource)->attach_.c_str();
}
const char* surf_storage_get_name(surf_storage_t resource)