-/************
- * Resource *
- ************/
-
-DiskS19::DiskS19(DiskModel* model, const std::string& name, lmm::System* maxminSystem, double read_bw, double write_bw)
- : DiskImpl(model, name, maxminSystem, read_bw, write_bw)
-{
- XBT_DEBUG("Create resource with read_bw '%f' write_bw '%f'", read_bw, write_bw);
- s4u::Disk::on_creation(this->piface_);
-}
-
-DiskAction* DiskS19::io_start(sg_size_t size, s4u::Io::OpType type)
-{
- return new DiskS19Action(get_model(), size, not is_on(), this, type);
-}
-
-DiskAction* DiskS19::read(sg_size_t size)
-{
- return new DiskS19Action(get_model(), size, not is_on(), this, s4u::Io::OpType::READ);
-}
-
-DiskAction* DiskS19::write(sg_size_t size)
-{
- return new DiskS19Action(get_model(), size, not is_on(), this, s4u::Io::OpType::WRITE);
-}
-
-/**********
- * Action *
- **********/
-
-DiskS19Action::DiskS19Action(Model* model, double cost, bool failed, DiskImpl* disk, s4u::Io::OpType type)
- : DiskAction(model, cost, failed, model->get_maxmin_system()->variable_new(this, 1.0, -1.0, 3), disk, type)