Class UtilizationModelFull

java.lang.Object
org.cloudbus.cloudsim.utilizationmodels.UtilizationModelAbstract
org.cloudbus.cloudsim.utilizationmodels.UtilizationModelFull
All Implemented Interfaces:
UtilizationModel

public class UtilizationModelFull extends UtilizationModelAbstract
A UtilizationModel that according to which, a Cloudlet always utilizes a given allocated resource from its Vm at 100%, all the time. The methods UtilizationModelAbstract.getUtilization(double) and UtilizationModelAbstract.getUtilization() always return 1 any time they are called.
Since:
CloudSim Toolkit 2.0
Author:
Anton Beloglazov
  • Constructor Details

    • UtilizationModelFull

      public UtilizationModelFull()
  • Method Details

    • getUtilizationInternal

      protected final double getUtilizationInternal(double time)
      Gets the utilization percentage (in scale from [0 to 1]) of resource at a given simulation time.
      Specified by:
      getUtilizationInternal in class UtilizationModelAbstract
      Parameters:
      time - the time to get the resource usage.
      Returns:
      Always return 1 (100% of utilization), independent of the time.