From 4895ebdb64edf5f5bd1c651ec41269c2eb36d6d1 Mon Sep 17 00:00:00 2001 From: Lucas Schnorr Date: Fri, 22 Apr 2011 10:46:12 +0200 Subject: [PATCH 1/1] [trace] fixing identation --- src/surf/cpu_im.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) 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; } -- 2.20.1