cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus-testbeds/src/main/java/org/cloudsimplus/sla/NetworkVmsWithMetricsExample.java
private static void addExecutionTask(NetworkCloudlet netCloudlet) {
        CloudletTask task = new CloudletExecutionTask(
                netCloudlet.getTasks().size(), CLOUDLET_EXECUTION_TASK_LENGTH);
        task.setMemory(TASK_RAM);
        netCloudlet.addTask(task);
    }
/**
     * Adds an execution task to list of tasks of the given
     * {@link NetworkCloudlet}.
     *
     * @param netCloudlet the {@link NetworkCloudlet} to add the task
     */
Adds an execution task to list of tasks of the given
NetworkCloudlet.

@param netCloudlet the  NetworkCloudlet to add the task
Adds an execution task to list of tasks of the given NetworkCloudlet . @param netCloudlet the NetworkCloudlet to add the task
private static void addExecutionTask(NetworkCloudlet netCloudlet) {
        CloudletTask task = new CloudletExecutionTask(
                netCloudlet.getTasks().size(), CLOUDLET_EXECUTION_TASK_LENGTH);
        task.setMemory(TASK_RAM);
        netCloudlet.addTask(task);
    }
private static void addExecutionTask ( NetworkCloudlet netCloudlet ) { CloudletTask task = new CloudletExecutionTask ( netCloudlet . getTasks ( ) . size ( ) , CLOUDLET_EXECUTION_TASK_LENGTH ) ; task . setMemory ( TASK_RAM ) ; netCloudlet . addTask ( task ) ; }
Adds an execution task to list of tasks of the given
 {@link NetworkCloudlet}.
Adds an execution task to list of tasks of the given { @link NetworkCloudlet } .