From: Lucas Schnorr Date: Fri, 22 Apr 2011 08:46:12 +0000 (+0200) Subject: [trace] fixing identation X-Git-Tag: v3_6_rc3~116 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/4895ebdb64edf5f5bd1c651ec41269c2eb36d6d1?hp=e068a3ed416ad96c6dd7ed09d7675644c4a3324e [trace] fixing identation --- diff --git a/src/surf/cpu_im.c b/src/surf/cpu_im.c index 229c84de9d..11b9aaad85 100644 --- a/src/surf/cpu_im.c +++ b/src/surf/cpu_im.c @@ -343,23 +343,23 @@ static void cpu_im_update_actions_state(double now, double delta) { //defining the last timestamp that we can safely dump to trace file //without losing the event ascending order (considering all CPU's) - void **data; + void **data; cpu_Cas01_im_t cpu; xbt_lib_cursor_t cursor; char *key; double smaller = -1; xbt_lib_foreach(host_lib, cursor, key, data){ - if(data[SURF_CPU_LEVEL]){ - cpu = data[SURF_CPU_LEVEL]; - if (smaller < 0){ - smaller = cpu->last_update; - continue; - } - if (cpu->last_update < smaller){ - smaller = cpu->last_update; - } - } - } + if(data[SURF_CPU_LEVEL]){ + cpu = data[SURF_CPU_LEVEL]; + if (smaller < 0){ + smaller = cpu->last_update; + continue; + } + if (cpu->last_update < smaller){ + smaller = cpu->last_update; + } + } + } if (smaller > 0) { TRACE_last_timestamp_to_dump = smaller; }