cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus-testbeds/src/main/java/org/cloudsimplus/sla/SlaMetricsWithoutNetworkExample.java
public double waitTimeAverage(List<Cloudlet> cloudlet) {
        double waitTime = 0, quant = 0;
        for (Cloudlet cloudlets : cloudlet) {
            waitTime += cloudlets.getWaitingTime();
            quant++;
        }
        return waitTime/quant;
    }
/**
     * Shows the wait time of cloudlets
     *
     * @param cloudlet list of cloudlets
     * @return the waitTimeAverage
     */
Shows the wait time of cloudlets
@param cloudlet list of cloudlets
@return the waitTimeAverage
Shows the wait time of cloudlets @param cloudlet list of cloudlets @return the waitTimeAverage
public double waitTimeAverage(List<Cloudlet> cloudlet) {
        double waitTime = 0, quant = 0;
        for (Cloudlet cloudlets : cloudlet) {
            waitTime += cloudlets.getWaitingTime();
            quant++;
        }
        return waitTime/quant;
    }
public double waitTimeAverage ( List < Cloudlet > cloudlet ) { double waitTime = 0 , quant = 0 ; for ( Cloudlet cloudlets : cloudlet ) { waitTime += cloudlets . getWaitingTime ( ) ; quant ++ ; } return waitTime / quant ; }
Shows the wait time of cloudlets
 @param cloudlet list of cloudlets
 @return the waitTimeAverage
Shows the wait time of cloudlets @param cloudlet list of cloudlets @return the waitTimeAverage