From 4319e0ba3dfa591b8629471fbf0ce09a24bb15b6 Mon Sep 17 00:00:00 2001 From: navarro Date: Thu, 21 Jun 2012 15:42:32 +0200 Subject: [PATCH 1/1] More debug --- src/surf/storage.c | 1 + 1 file changed, 1 insertion(+) 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 } -- 2.20.1