Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
snake_case another method
[simgrid.git] / src / surf / storage_n11.hpp
index 9414ac6..0570669 100644 (file)
@@ -39,7 +39,7 @@ public:
 
 class StorageN11 : public StorageImpl {
 public:
-  StorageN11(StorageModel* model, std::string name, lmm_system_t maxminSystem, double bread, double bwrite,
+  StorageN11(StorageModel* model, std::string name, kernel::lmm::System* maxminSystem, double bread, double bwrite,
              std::string type_id, std::string content_name, sg_size_t size, std::string attach);
   virtual ~StorageN11() = default;
   StorageAction* read(sg_size_t size);
@@ -54,13 +54,13 @@ class StorageN11Action : public StorageAction {
 public:
   StorageN11Action(kernel::resource::Model* model, double cost, bool failed, StorageImpl* storage,
                    e_surf_action_storage_type_t type);
-  void suspend();
-  int unref();
-  void cancel();
-  void resume();
-  bool isSuspended();
-  void setMaxDuration(double duration);
-  void setSharingWeight(double priority);
+  void suspend() override;
+  void cancel() override;
+  void resume() override;
+  bool isSuspended() override;
+  void set_max_duration(double duration) override;
+  void set_priority(double priority) override;
+  void update_remains_lazy(double now) override;
 };
 
 }