Assign & increase/decrease the percentage of CPU to a VM while the simulation is running

  • HostDynamicWorkload, subclass of Host supports dynamic workload and performance degradation. By getting the current utilization of CPU in percentage, we can increase or decrease the percentage of CPU, regarding cloudlet scheduler. The method used is:
    public double getUtilizationOfCpu()