Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
More debug
authornavarro <navarro@caraja.(none)>
Thu, 21 Jun 2012 13:42:32 +0000 (15:42 +0200)
committernavarro <navarro@caraja.(none)>
Thu, 21 Jun 2012 15:35:31 +0000 (17:35 +0200)
src/surf/storage.c

index de8cd94..079a799 100644 (file)
@@ -211,6 +211,7 @@ static void storage_update_actions_state(double now, double delta)
     if(action->type == WRITE)
     {
       double rate = lmm_variable_getvalue(GENERIC_LMM_ACTION(action).variable);
+      XBT_INFO("Update %f + %f = %f",((surf_action_t)action)->file->content->stat.size,delta * rate,((surf_action_t)action)->file->content->stat.size+delta * rate);
       ((storage_t)(action->storage))->used_size += delta * rate; // disk usage
       ((surf_action_t)action)->file->content->stat.size += delta * rate; // file size
     }