A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mv link map to the engine
[simgrid.git]
/
src
/
surf
/
storage_n11.hpp
diff --git
a/src/surf/storage_n11.hpp
b/src/surf/storage_n11.hpp
index
9414ac6
..
617b285
100644
(file)
--- a/
src/surf/storage_n11.hpp
+++ b/
src/surf/storage_n11.hpp
@@
-29,8
+29,8
@@
class StorageN11Model : public StorageModel {
public:
StorageImpl* createStorage(std::string id, std::string type_id, std::string content_name,
std::string attach) override;
public:
StorageImpl* createStorage(std::string id, std::string type_id, std::string content_name,
std::string attach) override;
- double next
OccuringE
vent(double now) override;
- void update
ActionsS
tate(double now, double delta) override;
+ double next
_occuring_e
vent(double now) override;
+ void update
_actions_s
tate(double now, double delta) override;
};
/************
};
/************
@@
-39,7
+39,7
@@
public:
class StorageN11 : public StorageImpl {
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);
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,12
@@
class StorageN11Action : public StorageAction {
public:
StorageN11Action(kernel::resource::Model* model, double cost, bool failed, StorageImpl* storage,
e_surf_action_storage_type_t type);
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;
+ void set_max_duration(double duration) override;
+ void set_priority(double priority) override;
+ void update_remains_lazy(double now) override;
};
}
};
}