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
Fix cpu issues with VMs
[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 063eefefcae468260d3cb3e9ac4e0ddae17e3cc3..5881fc5c366214879cee907d94f2ba31d16e8d37 100644
(file)
--- a/
examples/msg/cloud/two_tasks_vm.c
+++ b/
examples/msg/cloud/two_tasks_vm.c
@@
-64,10
+64,10
@@
static int master_main(int argc, char *argv[])
msg_host_t pm0 = xbt_dynar_get_as(hosts_dynar, 0, msg_host_t);
msg_vm_t vm0;
vm0 = MSG_vm_create_core(pm0, "VM0");
msg_host_t pm0 = xbt_dynar_get_as(hosts_dynar, 0, msg_host_t);
msg_vm_t vm0;
vm0 = MSG_vm_create_core(pm0, "VM0");
-
+ MSG_vm_start(vm0);
//MSG_process_sleep(1);
//MSG_process_sleep(1);
- launch_computation_worker(
p
m0);
+ launch_computation_worker(
v
m0);
while(MSG_get_clock()<100) {
if (atask != NULL)
while(MSG_get_clock()<100) {
if (atask != NULL)