cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus-testbeds/src/main/java/org/cloudsimplus/sla/SlaMetricsWithoutNetworkExample.java
public double utilizationResources(List<Cloudlet> cloudlet) {
        double utilizationResources = 0, bw, cpu, ram;
        for (Cloudlet cloudlets : cloudlet) {
            bw = cloudlets.getUtilizationOfBw();
            cpu = cloudlets.getUtilizationOfCpu();
            ram = cloudlets.getUtilizationOfRam();
            utilizationResources += bw + cpu + ram;
        }
        return (utilizationResources * 100) / 100;
    }
/**
     * Shows the utilization resources (BW, CPU, RAM) in percentage
     *
     * @param cloudlet to calculate the utilization resources
     * @return utilizationResources
     */
Shows the utilization resources (BW, CPU, RAM) in percentage
@param cloudlet to calculate the utilization resources
@return utilizationResources
Shows the utilization resources ( BW CPU RAM ) in percentage @param cloudlet to calculate the utilization resources @return utilizationResources
public double utilizationResources(List<Cloudlet> cloudlet) {
        double utilizationResources = 0, bw, cpu, ram;
        for (Cloudlet cloudlets : cloudlet) {
            bw = cloudlets.getUtilizationOfBw();
            cpu = cloudlets.getUtilizationOfCpu();
            ram = cloudlets.getUtilizationOfRam();
            utilizationResources += bw + cpu + ram;
        }
        return (utilizationResources * 100) / 100;
    }
public double utilizationResources ( List < Cloudlet > cloudlet ) { double utilizationResources = 0 , bw , cpu , ram ; for ( Cloudlet cloudlets : cloudlet ) { bw = cloudlets . getUtilizationOfBw ( ) ; cpu = cloudlets . getUtilizationOfCpu ( ) ; ram = cloudlets . getUtilizationOfRam ( ) ; utilizationResources += bw + cpu + ram ; } return ( utilizationResources * 100 ) / 100 ; }
Shows the utilization resources (BW, CPU, RAM) in percentage
 @param cloudlet to calculate the utilization resources
 @return utilizationResources
Shows the utilization resources ( BW CPU RAM ) in percentage @param cloudlet to calculate the utilization resources @return utilizationResources