namespace surf {
StorageN11Model::StorageN11Model() : StorageModel() {
- XBT_DEBUG("surf_storage_model_init_internal");
- maxminSystem_ = lmm_system_new(false /*lazy?*/);
+ maxminSystem_ = lmm_system_new(true /* lazy update */);
}
-StorageN11Model::~StorageN11Model(){
-}
+StorageN11Model::~StorageN11Model() = default;
#include "src/surf/xml/platf.hpp" // FIXME: move that back to the parsing area
Storage *StorageN11Model::createStorage(const char* id, const char* type_id,
StorageAction *open(const char* mount, const char* path);
StorageAction *close(surf_file_t fd);
StorageAction *ls(const char *path);
- StorageAction *read(surf_file_t fd, sg_size_t size);//FIXME:why we have a useless param *??
+ StorageAction *read(surf_file_t fd, sg_size_t size); //FIXME:why we have a useless param *??
StorageAction *write(surf_file_t fd, sg_size_t size);//FIXME:why we have a useless param *??
void rename(const char *src, const char *dest);
-
- lmm_constraint_t p_constraintWrite; /* Constraint for maximum write bandwidth*/
- lmm_constraint_t p_constraintRead; /* Constraint for maximum write bandwidth*/
};
/**********