Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] remove info messages from process migration test, update its tesh
authorLucas Schnorr <Lucas.Schnorr@imag.fr>
Fri, 20 Jan 2012 15:24:44 +0000 (16:24 +0100)
committerLucas Schnorr <Lucas.Schnorr@imag.fr>
Sun, 22 Jan 2012 23:55:24 +0000 (00:55 +0100)
examples/msg/tracing/procmig.c
examples/msg/tracing/procmig.tesh

index d2f5647..165bd41 100644 (file)
@@ -24,7 +24,6 @@ static int emigrant(int argc, char *argv[])
     destination = (char*)MSG_task_get_data (task);
     MSG_task_destroy (task);
     if (!destination) break; //there is no destination, die
-    XBT_INFO("Migrating to %s", destination);
     MSG_process_migrate(MSG_process_self(), MSG_get_host_by_name(destination));
     MSG_process_sleep(2); // I am tired, have to sleep for 2 seconds
     free (destination);
index f656d64..23a3042 100644 (file)
@@ -7,15 +7,6 @@ $ $SG_TEST_EXENV ${bindir:=.}/tracing/procmig$EXEEXT --cfg=tracing:1 --cfg=traci
 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/buffer' to '1'
 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/filename' to 'tracing/procmig.trace'
 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/msg/process' to '1'
-> [Fafard:emigrant:(1) 2.020551] [msg_test/INFO] Migrating to Tremblay
-> [Tremblay:emigrant:(1) 4.020707] [msg_test/INFO] Migrating to Jupiter
-> [Jupiter:emigrant:(1) 6.035906] [msg_test/INFO] Migrating to Fafard
-> [Fafard:emigrant:(1) 8.056457] [msg_test/INFO] Migrating to Ginette
-> [Ginette:emigrant:(1) 10.069689] [msg_test/INFO] Migrating to Bourassa
-> [Bourassa:emigrant:(1) 12.090025] [msg_test/INFO] Migrating to Fafard
-> [Fafard:emigrant:(1) 14.110575] [msg_test/INFO] Migrating to Tremblay
-> [Tremblay:emigrant:(1) 16.110731] [msg_test/INFO] Migrating to Ginette
-> [18.123963] [msg_test/INFO] Simulation time 18.124
 
 $ cat tracing/procmig.trace
 > %EventDef PajeDefineContainerType 0