Uses of Class
org.cloudbus.cloudsim.schedulers.MipsShare
Package | Description |
---|---|
org.cloudbus.cloudsim.hosts |
Provides
Host implementations
that represent a Physical Machine (PM) is used to run Vm
from different cloud customers
(represented by a DatacenterBroker ). |
org.cloudbus.cloudsim.schedulers |
Provides processor schedulers implementations to enable multiple
processes to run on some CPU cores (
Pe ). |
org.cloudbus.cloudsim.schedulers.cloudlet |
Provides
CloudletScheduler
implementations that are used to schedule the execution of multiple
Cloudlet inside a given
Vm . |
org.cloudbus.cloudsim.schedulers.vm |
Provides
VmScheduler
implementations that are used to schedule the execution of multiple
Vm inside a given
Host . |
org.cloudbus.cloudsim.vms |
Provides implementations of Virtual Machines (
Vm )
which are a software package that emulate the architecture of a physical machine. |
-
Uses of MipsShare in org.cloudbus.cloudsim.hosts
Methods in org.cloudbus.cloudsim.hosts that return MipsShare Modifier and Type Method Description protected MipsShare
HostSimple. getAllocatedMipsForVm(Vm vm)
Gets the MIPS share of each Pe that is allocated to a given VM. -
Uses of MipsShare in org.cloudbus.cloudsim.schedulers
Fields in org.cloudbus.cloudsim.schedulers declared as MipsShare Modifier and Type Field Description static MipsShare
MipsShare. NULL
Constructors in org.cloudbus.cloudsim.schedulers with parameters of type MipsShare Constructor Description MipsShare(MipsShare share)
A clone constructor. -
Uses of MipsShare in org.cloudbus.cloudsim.schedulers.cloudlet
Methods in org.cloudbus.cloudsim.schedulers.cloudlet that return MipsShare Modifier and Type Method Description MipsShare
CloudletSchedulerAbstract. getCurrentMipsShare()
Gets current MIPS capacity from the VM that will be made available to the scheduler.Methods in org.cloudbus.cloudsim.schedulers.cloudlet with parameters of type MipsShare Modifier and Type Method Description protected void
CloudletSchedulerAbstract. setCurrentMipsShare(MipsShare currentMipsShare)
Sets current MIPS share available for the VM using the scheduler.double
CloudletScheduler. updateProcessing(double currentTime, MipsShare mipsShare)
Updates the processing of cloudlets inside the Vm running under management of this scheduler.double
CloudletSchedulerAbstract. updateProcessing(double currentTime, MipsShare mipsShare)
double
CloudletSchedulerCompletelyFair. updateProcessing(double currentTime, MipsShare mipsShare)
Updates the processing of cloudlets inside the Vm running under management of this scheduler. -
Uses of MipsShare in org.cloudbus.cloudsim.schedulers.vm
Methods in org.cloudbus.cloudsim.schedulers.vm that return MipsShare Modifier and Type Method Description MipsShare
VmScheduler. getAllocatedMips(Vm vm)
Gets the MIPS share of each host's Pe that is allocated to a given VM.MipsShare
VmSchedulerAbstract. getAllocatedMips(Vm vm)
protected MipsShare
VmSchedulerAbstract. getMipsShareRequestedReduced(Vm vm, MipsShare mipsShareRequested)
Gets an adjusted List of MIPS requested by a VM, reducing every MIPS which is higher than thecapacity of each physical PE
to that value.protected MipsShare
VmSchedulerTimeShared. getMipsShareToAllocate(MipsShare requestedMips, double scalingFactor)
Gets the actual MIPS share that will be allocated to VM's PEs, considering the VM migration status.protected MipsShare
VmSchedulerTimeShared. getMipsShareToAllocate(Vm vm, MipsShare requestedMips)
Gets the actual MIPS share that will be allocated to VM's PEs, considering the VM migration status.MipsShare
VmScheduler. getRequestedMips(Vm vm)
Gets the List of MIPS requested by a VM.MipsShare
VmSchedulerAbstract. getRequestedMips(Vm vm)
Methods in org.cloudbus.cloudsim.schedulers.vm that return types with arguments of type MipsShare Modifier and Type Method Description protected Map<Vm,MipsShare>
VmSchedulerAbstract. getAllocatedMipsMap()
Gets a map of MIPS allocated to each VM, were each key is a VM and each value is the List of currently allocated MIPS from the respective physical PEs which are being used by such a VM.protected Map<Vm,MipsShare>
VmSchedulerAbstract. getRequestedMipsMap()
Gets a map of MIPS requested by each VM, where each key is a VM and each value is a list of MIPS requested by that VM.Methods in org.cloudbus.cloudsim.schedulers.vm with parameters of type MipsShare Modifier and Type Method Description protected void
VmSchedulerTimeShared. allocateMipsShareForVm(Vm vm, MipsShare requestedMipsReduced)
Performs the allocation of a MIPS List to a given VM.protected void
VmSchedulerTimeSharedOverSubscription. allocateMipsShareForVm(Vm vm, MipsShare requestedMipsReduced)
boolean
VmScheduler. allocatePesForVm(Vm vm, MipsShare requestedMips)
Requests the allocation of PEs for a VM.boolean
VmSchedulerAbstract. allocatePesForVm(Vm vm, MipsShare requestedMips)
protected abstract boolean
VmSchedulerAbstract. allocatePesForVmInternal(Vm vm, MipsShare mipsShareRequested)
boolean
VmSchedulerSpaceShared. allocatePesForVmInternal(Vm vm, MipsShare requestedMips)
boolean
VmSchedulerTimeShared. allocatePesForVmInternal(Vm vm, MipsShare requestedMips)
protected MipsShare
VmSchedulerAbstract. getMipsShareRequestedReduced(Vm vm, MipsShare mipsShareRequested)
Gets an adjusted List of MIPS requested by a VM, reducing every MIPS which is higher than thecapacity of each physical PE
to that value.protected MipsShare
VmSchedulerTimeShared. getMipsShareToAllocate(MipsShare requestedMips, double scalingFactor)
Gets the actual MIPS share that will be allocated to VM's PEs, considering the VM migration status.protected MipsShare
VmSchedulerTimeShared. getMipsShareToAllocate(Vm vm, MipsShare requestedMips)
Gets the actual MIPS share that will be allocated to VM's PEs, considering the VM migration status.boolean
VmScheduler. isSuitableForVm(Vm vm, MipsShare requestedMips)
Checks if a list of MIPS requested by a VM is allowed to be allocated or not.boolean
VmSchedulerAbstract. isSuitableForVm(Vm vm, MipsShare requestedMips)
protected abstract boolean
VmSchedulerAbstract. isSuitableForVmInternal(Vm vm, MipsShare requestedMips)
protected boolean
VmSchedulerSpaceShared. isSuitableForVmInternal(Vm vm, MipsShare requestedMips)
protected boolean
VmSchedulerTimeShared. isSuitableForVmInternal(Vm vm, MipsShare requestedMips)
The non-emptiness of the list is ensured by theVmScheduler.isSuitableForVm(Vm, MipsShare)
method.protected boolean
VmSchedulerTimeSharedOverSubscription. isSuitableForVmInternal(Vm vm, MipsShare requestedMips)
Checks if a list of MIPS requested by a VM is allowed to be allocated or not.protected void
VmSchedulerAbstract. putAllocatedMipsMap(Vm vm, MipsShare requestedMips)
Method parameters in org.cloudbus.cloudsim.schedulers.vm with type arguments of type MipsShare Modifier and Type Method Description protected long
VmSchedulerAbstract. removePesFromMap(Vm vm, Map<Vm,MipsShare> map, long pesToRemove)
Remove a given number of PEs from a givenVm -> List<PE>
Map, where each PE in the List associated to each Vm may be an actualPe
object or just its capacity in MIPS (Double). -
Uses of MipsShare in org.cloudbus.cloudsim.vms
Methods in org.cloudbus.cloudsim.vms that return MipsShare Modifier and Type Method Description MipsShare
Vm. getCurrentRequestedMips()
Gets a copy list of current requested MIPS of each virtualPe
, avoiding the original list to be changed.MipsShare
VmSimple. getCurrentRequestedMips()
Methods in org.cloudbus.cloudsim.vms with parameters of type MipsShare Modifier and Type Method Description double
Vm. updateProcessing(double currentTime, MipsShare mipsShare)
Updates the processing of cloudlets running on this VM.double
Vm. updateProcessing(MipsShare mipsShare)
Updates the processing of cloudlets running on this VM at the current simulation time.double
VmGroup. updateProcessing(double currentTime, MipsShare mipsShare)
double
VmSimple. updateProcessing(double currentTime, MipsShare mipsShare)
double
VmSimple. updateProcessing(MipsShare mipsShare)