]> AND Public Git Repository - simgrid.git/blobdiff - src/surf/disk_s19.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
More consistency in resource creation/destruction
[simgrid.git] / src / surf / disk_s19.hpp
index 443145750d0880f6768c231be42b173227fde828..9fe98e752156f0a1f2c55bb4acd9bab741bd4785 100644 (file)
@@ -43,6 +43,10 @@ public:
 class DiskS19 : public DiskImpl {
 public:
   using DiskImpl::DiskImpl;
+  void set_read_bandwidth(double value) override;
+  void set_write_bandwidth(double value) override;
+  void set_readwrite_bandwidth(double value) override;
+  void apply_event(kernel::profile::Event* triggered, double value) override;
 };
 
 /**********
@@ -51,7 +55,7 @@ public:
 
 class DiskS19Action : public DiskAction {
 public:
-  DiskS19Action(Model* model, double cost, bool failed, const DiskImpl* disk, s4u::Io::OpType type);
+  DiskS19Action(Model* model, double cost, bool failed);
   void update_remains_lazy(double now) override;
 };