From: navarro Date: Thu, 21 Jun 2012 13:42:32 +0000 (+0200) Subject: More debug X-Git-Tag: v3_8~510 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/4319e0ba3dfa591b8629471fbf0ce09a24bb15b6 More debug --- diff --git a/src/surf/storage.c b/src/surf/storage.c index de8cd943c0..079a799a58 100644 --- a/src/surf/storage.c +++ b/src/surf/storage.c @@ -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 }