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
VM: don't take ignored parameter that may fool the users
[simgrid.git]
/
examples
/
java
/
energy
/
vm
/
EnergyVMRunner.java
diff --git
a/examples/java/energy/vm/EnergyVMRunner.java
b/examples/java/energy/vm/EnergyVMRunner.java
index
09e0a73
..
0e636f6
100644
(file)
--- a/
examples/java/energy/vm/EnergyVMRunner.java
+++ b/
examples/java/energy/vm/EnergyVMRunner.java
@@
-48,10
+48,10
@@
public class EnergyVMRunner extends Process {
Host host3 = Host.getByName("MyHost3");
Msg.info("Creating and starting two VMs");
Host host3 = Host.getByName("MyHost3");
Msg.info("Creating and starting two VMs");
- VM vmHost1 = new VM(host1, "vmHost1",
4, 2048, 100, null, 1024 * 20, 10,
50);
+ VM vmHost1 = new VM(host1, "vmHost1",
2048, 10,
50);
vmHost1.start();
vmHost1.start();
- VM vmHost3 = new VM(host3, "vmHost3",
4, 2048, 100, null, 1024 * 20, 10,
50);
+ VM vmHost3 = new VM(host3, "vmHost3",
2048, 10,
50);
vmHost3.start();
Msg.info("Create two tasks on Host1: one inside a VM, the other directly on the host");
vmHost3.start();
Msg.info("Create two tasks on Host1: one inside a VM, the other directly on the host");