A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sed -i -e 's/\t/ /g' [sources] Please people, stop using tabs
[simgrid.git]
/
examples
/
msg
/
cloud
/
two_tasks_vm.c
diff --git
a/examples/msg/cloud/two_tasks_vm.c
b/examples/msg/cloud/two_tasks_vm.c
index
6a0dd2c
..
d2e8263
100644
(file)
--- a/
examples/msg/cloud/two_tasks_vm.c
+++ b/
examples/msg/cloud/two_tasks_vm.c
@@
-70,9
+70,9
@@
static int master_main(int argc, char *argv[])
launch_computation_worker(vm0);
while(MSG_get_clock()<100) {
launch_computation_worker(vm0);
while(MSG_get_clock()<100) {
-
if (atask != NULL)
-
XBT_INFO("aTask remaining duration: %g", MSG_task_get_flops_amount(atask));
-
MSG_process_sleep(1);
+ if (atask != NULL)
+ XBT_INFO("aTask remaining duration: %g", MSG_task_get_flops_amount(atask));
+ MSG_process_sleep(1);
}
MSG_process_sleep(10000);
}
MSG_process_sleep(10000);