Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
typo (s/deamon/daemon/)
authorMartin Quinson <martin.quinson@loria.fr>
Sun, 1 Nov 2015 08:36:35 +0000 (09:36 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Sun, 1 Nov 2015 08:36:35 +0000 (09:36 +0100)
teshsuite/msg/host_on_off_processes/host_on_off_processes.c
teshsuite/msg/host_on_off_processes/host_on_off_processes.tesh

index 7fd2ced..b0ab942 100644 (file)
@@ -178,12 +178,12 @@ int process_daemon(int argc, char *argv[])
   msg_task_t task = NULL;
   XBT_INFO("  Start daemon on %s (%f)",  MSG_host_get_name(MSG_host_self()), MSG_get_host_speed(MSG_host_self()));
   for(;;){
-    task = MSG_task_create("deamon", MSG_get_host_speed(MSG_host_self()), 0, NULL);
-    XBT_INFO("  Execute deamon");
+    task = MSG_task_create("daemon", MSG_get_host_speed(MSG_host_self()), 0, NULL);
+    XBT_INFO("  Execute daemon");
     MSG_task_execute(task);
     MSG_task_destroy(task);
   }
-  XBT_INFO("  Deamon done. See you!");
+  XBT_INFO("  daemon done. See you!");
   return 0;
 }
 
index 29d0f3f..0e7369d 100644 (file)
@@ -3,9 +3,9 @@ $ ./host_on_off_processes ${srcdir:=.}/../../../examples/platforms/small_platfor
 > [Tremblay:test_launcher:(1) 0.000000] [msg_test/INFO] Test 1:
 > [Tremblay:test_launcher:(1) 0.000000] [msg_test/INFO]   Create a process on Jupiter
 > [Jupiter:process_daemon:(2) 0.000000] [msg_test/INFO]   Start daemon on Jupiter (76296000.000000)
-> [Jupiter:process_daemon:(2) 0.000000] [msg_test/INFO]   Execute deamon
-> [Jupiter:process_daemon:(2) 1.000000] [msg_test/INFO]   Execute deamon
-> [Jupiter:process_daemon:(2) 2.000000] [msg_test/INFO]   Execute deamon
+> [Jupiter:process_daemon:(2) 0.000000] [msg_test/INFO]   Execute daemon
+> [Jupiter:process_daemon:(2) 1.000000] [msg_test/INFO]   Execute daemon
+> [Jupiter:process_daemon:(2) 2.000000] [msg_test/INFO]   Execute daemon
 > [Tremblay:test_launcher:(1) 3.000000] [msg_test/INFO]   Turn off Jupiter
 > [Tremblay:test_launcher:(1) 13.000000] [msg_test/INFO] Test 1 seems ok, cool !(number of Process : 1, it should be 1 (i.e. the Test one))
 > [Tremblay:test_launcher:(1) 13.000000] [msg_test/INFO]   Test done. See you!
@@ -69,18 +69,18 @@ $ ./host_on_off_processes ${srcdir:=.}/../../../examples/platforms/small_platfor
 > [Tremblay:test_launcher:(1) 0.000000] [msg_test/INFO] Test 6: Turn on Jupiter, assign a VM on Jupiter, launch a process inside the VM, and turn off the node
 > [0.000000] [surf_vm/INFO] Create VM(vm0)@PM(Jupiter) with 0 mounted disks
 > [vm0:process_daemon:(2) 0.000000] [msg_test/INFO]   Start daemon on vm0 (76296000.000000)
-> [vm0:process_daemon:(2) 0.000000] [msg_test/INFO]   Execute deamon
+> [vm0:process_daemon:(2) 0.000000] [msg_test/INFO]   Execute daemon
 > [Jupiter:process_daemonJUPI:(3) 0.000000] [msg_test/INFO]   Start daemon on Jupiter (76296000.000000)
-> [Jupiter:process_daemonJUPI:(3) 0.000000] [msg_test/INFO]   Execute deamon
-> [Jupiter:process_daemonJUPI:(3) 1.000001] [msg_test/INFO]   Execute deamon
-> [Jupiter:process_daemonJUPI:(3) 2.000002] [msg_test/INFO]   Execute deamon
-> [Jupiter:process_daemonJUPI:(3) 3.000004] [msg_test/INFO]   Execute deamon
-> [Jupiter:process_daemonJUPI:(3) 4.000005] [msg_test/INFO]   Execute deamon
-> [Jupiter:process_daemonJUPI:(3) 5.000006] [msg_test/INFO]   Execute deamon
-> [Jupiter:process_daemonJUPI:(3) 6.000007] [msg_test/INFO]   Execute deamon
-> [Jupiter:process_daemonJUPI:(3) 7.000008] [msg_test/INFO]   Execute deamon
-> [Jupiter:process_daemonJUPI:(3) 8.000009] [msg_test/INFO]   Execute deamon
-> [Jupiter:process_daemonJUPI:(3) 9.000011] [msg_test/INFO]   Execute deamon
+> [Jupiter:process_daemonJUPI:(3) 0.000000] [msg_test/INFO]   Execute daemon
+> [Jupiter:process_daemonJUPI:(3) 1.000001] [msg_test/INFO]   Execute daemon
+> [Jupiter:process_daemonJUPI:(3) 2.000002] [msg_test/INFO]   Execute daemon
+> [Jupiter:process_daemonJUPI:(3) 3.000004] [msg_test/INFO]   Execute daemon
+> [Jupiter:process_daemonJUPI:(3) 4.000005] [msg_test/INFO]   Execute daemon
+> [Jupiter:process_daemonJUPI:(3) 5.000006] [msg_test/INFO]   Execute daemon
+> [Jupiter:process_daemonJUPI:(3) 6.000007] [msg_test/INFO]   Execute daemon
+> [Jupiter:process_daemonJUPI:(3) 7.000008] [msg_test/INFO]   Execute daemon
+> [Jupiter:process_daemonJUPI:(3) 8.000009] [msg_test/INFO]   Execute daemon
+> [Jupiter:process_daemonJUPI:(3) 9.000011] [msg_test/INFO]   Execute daemon
 > [Tremblay:test_launcher:(1) 10.000000] [msg_test/INFO]   Turn Jupiter off
 > [Tremblay:test_launcher:(1) 10.000000] [msg_test/INFO]   Shutdown vm0
 > [Tremblay:test_launcher:(1) 10.000000] [msg_test/INFO]   Destroy vm0