SimGrid
3.18
Versatile Simulation of Distributed Systems
|
#include "simgrid/s4u/Host.hpp"
#include "simgrid/s4u/Storage.hpp"
#include "src/msg/msg_private.hpp"
#include "src/plugins/file_system/FileSystem.hpp"
#include <numeric>
Functions | |
XBT_LOG_NEW_DEFAULT_SUBCATEGORY (msg_io, msg, "Logging specific to MSG (io)") | |
const char * | MSG_storage_get_name (msg_storage_t storage) |
Returns the name of the msg_storage_t. More... | |
const char * | MSG_storage_get_host (msg_storage_t storage) |
xbt_dict_t | MSG_storage_get_properties (msg_storage_t storage) |
Returns a xbt_dict_t consisting of the list of properties assigned to this storage. More... | |
void | MSG_storage_set_property_value (msg_storage_t storage, const char *name, char *value) |
Change the value of a given storage property. More... | |
const char * | MSG_storage_get_property_value (msg_storage_t storage, const char *name) |
Returns the value of a given storage property. More... | |
msg_storage_t | MSG_storage_get_by_name (const char *name) |
Finds a msg_storage_t using its name. More... | |
xbt_dynar_t | MSG_storages_as_dynar () |
Returns a dynar containing all the storage elements declared at a given point of time. More... | |
void * | MSG_storage_get_data (msg_storage_t storage) |
msg_error_t | MSG_storage_set_data (msg_storage_t storage, void *data) |
sg_size_t | MSG_storage_read (msg_storage_t storage, sg_size_t size) |
sg_size_t | MSG_storage_write (msg_storage_t storage, sg_size_t size) |
XBT_LOG_NEW_DEFAULT_SUBCATEGORY | ( | msg_io | , |
msg | , | ||
"Logging specific to MSG (io)" | |||
) |
const char* MSG_storage_get_host | ( | msg_storage_t | storage | ) |
const char* MSG_storage_get_property_value | ( | msg_storage_t | storage, |
const char * | name | ||
) |
Returns the value of a given storage property.
storage | a storage |
name | a property name |
void* MSG_storage_get_data | ( | msg_storage_t | storage | ) |
msg_error_t MSG_storage_set_data | ( | msg_storage_t | storage, |
void * | data | ||
) |
sg_size_t MSG_storage_read | ( | msg_storage_t | storage, |
sg_size_t | size | ||
) |
sg_size_t MSG_storage_write | ( | msg_storage_t | storage, |
sg_size_t | size | ||
) |