X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/19b3962253112b19308537bc2400de141c119d99..92661d62eaee255e5f677a667c0f05a4f5917c24:/src/surf/storage_interface.cpp diff --git a/src/surf/storage_interface.cpp b/src/surf/storage_interface.cpp index a2ef0ebc59..1aef9a97a8 100644 --- a/src/surf/storage_interface.cpp +++ b/src/surf/storage_interface.cpp @@ -6,7 +6,6 @@ #include "storage_interface.hpp" #include "surf_private.h" -#include "xbt/file.h" /* xbt_getline */ #include #include #include @@ -15,7 +14,6 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_storage, surf, "Logging specific to the SURF storage module"); xbt_lib_t storage_lib; -int SIMIX_STORAGE_LEVEL = -1; // Simix storage level int MSG_STORAGE_LEVEL = -1; // Msg storage level int ROUTING_STORAGE_LEVEL = -1; // Routing for storage level int SURF_STORAGE_LEVEL = -1; @@ -52,10 +50,8 @@ StorageModel::~StorageModel(){ ************/ Storage::Storage(Model* model, const char* name, lmm_system_t maxminSystem, double bread, double bwrite, - double bconnection, const char* type_id, const char* content_name, const char* content_type, - sg_size_t size, const char* attach) + double bconnection, const char* type_id, const char* content_name, sg_size_t size, const char* attach) : Resource(model, name, lmm_constraint_new(maxminSystem, this, bconnection)) - , contentType_(xbt_strdup(content_type)) , size_(size) , usedSize_(0) , typeId_(xbt_strdup(type_id)) @@ -77,7 +73,6 @@ Storage::~Storage(){ delete content_; } free(typeId_); - free(contentType_); free(attach_); } @@ -117,7 +112,7 @@ bool Storage::isUsed() return false; } -void Storage::apply_event(tmgr_trace_iterator_t /*event*/, double /*value*/) +void Storage::apply_event(tmgr_trace_event_t /*event*/, double /*value*/) { THROW_UNIMPLEMENTED; }