Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cosmetics
authorFrederic Suter <frederic.suter@cc.in2p3.fr>
Sun, 23 Feb 2020 19:29:18 +0000 (20:29 +0100)
committerFrederic Suter <frederic.suter@cc.in2p3.fr>
Sun, 23 Feb 2020 19:36:09 +0000 (20:36 +0100)
examples/c/actor-yield/actor-yield.c
examples/c/cloud-capping/cloud-capping.c
examples/c/cloud-capping/cloud-capping.tesh

index eac7d26..8171c61 100644 (file)
@@ -13,7 +13,7 @@
 /* This example does not much: It just spans over-polite processes that yield a large amount
  * of time before ending.
  *
- * This serves as an example for the MSG_process_yield() function, with which a process can request
+ * This serves as an example for the sg_process_yield() function, with which a process can request
  * to be rescheduled after the other processes that are ready at the current timestamp.
  *
  * It can also be used to benchmark our context-switching mechanism.
index 55676e6..8e37ece 100644 (file)
@@ -117,7 +117,7 @@ static void test_one_task(sg_host_t hostA)
   const double computation_amount = cpu_speed * 10;
   const char* hostA_name          = sg_host_get_name(hostA);
 
-  XBT_INFO("### Test: with/without MSG_task_set_bound");
+  XBT_INFO("### Test: with/without sg_exec_set_bound");
 
   XBT_INFO("### Test: no bound for Task1@%s", hostA_name);
   launch_worker(hostA, "worker0", computation_amount, 0, 0);
index bd2ffe4..4e4d526 100644 (file)
@@ -1,7 +1,7 @@
 ! output sort
 $ ${bindir:=.}/cloud-capping-c ${platfdir}/small_platform.xml --log=no_loc "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
 > [  0.000000] (1:master_@Fafard) # 1. Put a single task on a PM. 
-> [  0.000000] (1:master_@Fafard) ### Test: with/without MSG_task_set_bound
+> [  0.000000] (1:master_@Fafard) ### Test: with/without sg_exec_set_bound
 > [  0.000000] (1:master_@Fafard) ### Test: no bound for Task1@Fafard
 > [ 10.000000] (2:worker0@Fafard) not bound => duration 10.000000 (76296000.000000 flops/s)
 > [1000.000000] (1:master_@Fafard) ### Test: 50% for Task1@Fafard
@@ -40,7 +40,7 @@ $ ${bindir:=.}/cloud-capping-c ${platfdir}/small_platform.xml --log=no_loc "--lo
 > [11040.000000] (20:worker1@Fafard) bound to 19074000.000000 => duration 40.000000 (19074000.000000 flops/s)
 > [12000.000000] (1:master_@Fafard)  
 > [12000.000000] (1:master_@Fafard) # 3. Put a single task on a VM. 
-> [12000.000000] (1:master_@Fafard) ### Test: with/without MSG_task_set_bound
+> [12000.000000] (1:master_@Fafard) ### Test: with/without sg_exec_set_bound
 > [12000.000000] (1:master_@Fafard) ### Test: no bound for Task1@VM0
 > [12010.000000] (21:worker0@VM0) not bound => duration 10.000000 (76296000.000000 flops/s)
 > [13000.000000] (1:master_@Fafard) ### Test: 50% for Task1@VM0
@@ -104,7 +104,7 @@ $ ${bindir:=.}/cloud-capping-c ${platfdir}/small_platform.xml --log=no_loc "--lo
 > [30040.000000] (53:worker1@VM0) bound to 19074000.000000 => duration 40.000000 (19074000.000000 flops/s)
 > [31000.000000] (1:master_@Fafard)  
 > [31000.000000] (1:master_@Fafard) # 7. Put a single task on the VM capped by 10%.
-> [31000.000000] (1:master_@Fafard) ### Test: with/without MSG_task_set_bound
+> [31000.000000] (1:master_@Fafard) ### Test: with/without sg_exec_set_bound
 > [31000.000000] (1:master_@Fafard) ### Test: no bound for Task1@VM0
 > [31100.000000] (54:worker0@VM0) not bound => duration 100.000000 (7629600.000000 flops/s)
 > [32000.000000] (1:master_@Fafard) ### Test: 50% for Task1@VM0