Commit e14d9e54 authored by Eduardo Falcão's avatar Eduardo Falcão
Browse files

Merge branch 'power_mdl' into 'development'

Rename power example dependencies

See merge request lenovo-autonomic/cloudsimplus!10
parents be756713 815c8d5a
...@@ -38,7 +38,7 @@ import org.cloudbus.cloudsim.hosts.Host; ...@@ -38,7 +38,7 @@ import org.cloudbus.cloudsim.hosts.Host;
import org.cloudbus.cloudsim.hosts.HostSimple; import org.cloudbus.cloudsim.hosts.HostSimple;
import org.cloudbus.cloudsim.power.models.PowerModel; import org.cloudbus.cloudsim.power.models.PowerModel;
import org.cloudbus.cloudsim.power.models.PowerModelLinear; import org.cloudbus.cloudsim.power.models.PowerModelLinear;
import org.cloudbus.cloudsim.power.models.PowerModelSpecPowerHpProLiantBL460cGen9LowPowerMode; import org.cloudbus.cloudsim.power.models.PowerModelSpecPowerLowPowerMode;
import org.cloudbus.cloudsim.provisioners.PeProvisionerSimple; import org.cloudbus.cloudsim.provisioners.PeProvisionerSimple;
import org.cloudbus.cloudsim.provisioners.ResourceProvisioner; import org.cloudbus.cloudsim.provisioners.ResourceProvisioner;
import org.cloudbus.cloudsim.provisioners.ResourceProvisionerSimple; import org.cloudbus.cloudsim.provisioners.ResourceProvisionerSimple;
...@@ -205,9 +205,9 @@ public class PowerExampleAutonomic { ...@@ -205,9 +205,9 @@ public class PowerExampleAutonomic {
peList.add(new PeSimple(1000, new PeProvisionerSimple())); peList.add(new PeSimple(1000, new PeProvisionerSimple()));
} }
// final PowerModel powerModel = new PowerModelSpecPowerHpProLiantBL460cGen9DvfsMode(); // final PowerModel powerModel = new PowerModelSpecPowerDvfsMode();
// final PowerModel powerModel = new PowerModelSpecPowerHpProLiantBL460cGen9HighPowerMode(); // final PowerModel powerModel = new PowerModelSpecPowerHighPowerMode();
final PowerModel powerModel = new PowerModelSpecPowerHpProLiantBL460cGen9LowPowerMode(); final PowerModel powerModel = new PowerModelSpecPowerLowPowerMode();
final long ram = 2048; // in Megabytes final long ram = 2048; // in Megabytes
final long bw = 10000; // in Megabits/s final long bw = 10000; // in Megabits/s
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment