X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4a69abcc786d029bd2962537f767d12a0f808d11..155fa4a6f9826a1522c7378b3b5b694911db8032:/src/simix/smx_io.cpp diff --git a/src/simix/smx_io.cpp b/src/simix/smx_io.cpp index fc2dbd1a02..88892bf402 100644 --- a/src/simix/smx_io.cpp +++ b/src/simix/smx_io.cpp @@ -1,5 +1,4 @@ -/* Copyright (c) 2007-2010, 2012-2015. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2007-2017. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -9,7 +8,7 @@ #include #include -#include +#include "simgrid/s4u/Host.hpp" #include @@ -20,7 +19,6 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_io, simix, "Logging specific to SIMIX (io)"); - /** * \brief Internal function to create a SIMIX storage. * \param name name of the storage to create @@ -212,30 +210,6 @@ int SIMIX_file_move(smx_actor_t process, smx_file_t file, const char* fullpath) return surf_host_file_move(host, file->surf_file, fullpath); } -sg_size_t SIMIX_storage_get_size(smx_storage_t storage){ - return surf_storage_get_size(storage); -} - -sg_size_t simcall_HANDLER_storage_get_free_size(smx_simcall_t simcall, smx_storage_t storage) -{ - return SIMIX_storage_get_free_size(simcall->issuer, storage); -} - -sg_size_t SIMIX_storage_get_free_size(smx_actor_t process, smx_storage_t storage) -{ - return surf_storage_get_free_size(storage); -} - -sg_size_t simcall_HANDLER_storage_get_used_size(smx_simcall_t simcall, smx_storage_t storage) -{ - return SIMIX_storage_get_used_size(simcall->issuer, storage); -} - -sg_size_t SIMIX_storage_get_used_size(smx_actor_t process, smx_storage_t storage) -{ - return surf_storage_get_used_size(storage); -} - xbt_dict_t SIMIX_storage_get_properties(smx_storage_t storage){ return surf_storage_get_properties(storage); } @@ -244,10 +218,6 @@ const char* SIMIX_storage_get_name(smx_storage_t storage){ return sg_storage_name(storage); } -const char* SIMIX_storage_get_host(smx_storage_t storage){ - return surf_storage_get_host(storage); -} - void SIMIX_io_destroy(smx_activity_t synchro) { simgrid::kernel::activity::Io *io = static_cast(synchro);