XBT_INFO("\tOpen file '%s'",file->name);
read = MSG_file_read(mount,NULL,10000000,sizeof(char*),file); // Read for 10Mo
- XBT_INFO("\tHaving read %Zu \ton %s",read,file->name);
+ XBT_INFO("\tHaving read %zu \ton %s",read,file->name);
write = MSG_file_write(mount,NULL,100000,sizeof(char*),file); // Write for 100Ko
- XBT_INFO("\tHaving write %Zu \ton %s",write,file->name);
+ XBT_INFO("\tHaving write %zu \ton %s",write,file->name);
read = MSG_file_read(mount,NULL,10000000,sizeof(char*),file); // Read for 10Mo
- XBT_INFO("\tHaving read %Zu \ton %s",read,file->name);
+ XBT_INFO("\tHaving read %zu \ton %s",read,file->name);
MSG_file_stat(mount,file,&stat);
XBT_INFO("\tFile %s Size %d",file->name,(int)stat.size);
{
char *filename = stream->name;
surf_stat_t content = stream->content;
- XBT_DEBUG("\tRead file '%s' size '%Zu/%Zu'",filename,size,content->stat.size);
+ XBT_DEBUG("\tRead file '%s' size '%zu/%zu'",filename,size,content->stat.size);
if(size > content->stat.size)
size = content->stat.size;
surf_action_t action = storage_action_execute(storage,size,READ);
{
char *filename = stream->name;
surf_stat_t content = stream->content;
- XBT_DEBUG("\tWrite file '%s' size '%Zu/%Zu'",filename,size,content->stat.size);
+ XBT_DEBUG("\tWrite file '%s' size '%zu/%zu'",filename,size,content->stat.size);
surf_action_t action = storage_action_execute(storage,size,WRITE);
content->stat.size += size;
surf_action_storage_t action = NULL;
storage_t STORAGE = storage;
- XBT_IN("(%s,%Zu)", surf_resource_name(STORAGE), size);
+ XBT_IN("(%s,%zu)", surf_resource_name(STORAGE), size);
action =
surf_action_new(sizeof(s_surf_action_storage_t), size, surf_storage_model,
STORAGE->state_current != SURF_RESOURCE_ON);
size_t Bread = atof(xbt_dict_get(storage_type->properties,"Bread"));
size_t Bwrite = atof(xbt_dict_get(storage_type->properties,"Bwrite"));
size_t Bconnection = atof(xbt_dict_get(storage_type->properties,"Bconnection"));
- XBT_INFO("Create resource with Bconnection '%Zu' Bread '%Zu' Bwrite '%Zu'",Bconnection,Bread,Bwrite);
+ XBT_INFO("Create resource with Bconnection '%zu' Bread '%zu' Bwrite '%zu'",Bconnection,Bread,Bwrite);
storage->constraint = lmm_constraint_new(storage_maxmin_system, storage, Bconnection);
storage->constraint_read = lmm_constraint_new(storage_maxmin_system, storage, Bread);
storage->constraint_write = lmm_constraint_new(storage_maxmin_system, storage, Bwrite);
xbt_lib_set(storage_lib, id, SURF_STORAGE_LEVEL, storage);
- XBT_DEBUG("SURF storage create resource\n\t\tid '%s'\n\t\ttype '%s' \n\t\tmodel '%s' \n\t\tproperties '%p'\n\t\tBread '%Zu'\n",
+ XBT_DEBUG("SURF storage create resource\n\t\tid '%s'\n\t\ttype '%s' \n\t\tmodel '%s' \n\t\tproperties '%p'\n\t\tBread '%zu'\n",
id,
model,
type_id,