cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus-testbeds/src/main/java/org/cloudsimplus/performance/PerformanceTestbed1.java
private void createVms() {
        for (int v = 0; v < VMS; v++) {
            Vm vm =
                new VmSimple(v, VM_PE_MIPS, VM_PES)
                    .setRam(VM_RAM).setBw(VM_BW).setSize(VM_SIZE)
                    .setCloudletScheduler(new CloudletSchedulerTimeShared());

            vmList.add(vm);
        }
    }
/**
     * Creates a list of VMs for the {@link #broker0}.
     */
Creates a list of VMs for the  #broker0.
Creates a list of VMs for the #broker0 .
private void createVms() {
        for (int v = 0; v < VMS; v++) {
            Vm vm =
                new VmSimple(v, VM_PE_MIPS, VM_PES)
                    .setRam(VM_RAM).setBw(VM_BW).setSize(VM_SIZE)
                    .setCloudletScheduler(new CloudletSchedulerTimeShared());
            vmList.add(vm);
        }
    }
private void createVms ( ) { for ( int v = 0 ; v < VMS ; v ++ ) { Vm vm = new VmSimple ( v , VM_PE_MIPS , VM_PES ) . setRam ( VM_RAM ) . setBw ( VM_BW ) . setSize ( VM_SIZE ) . setCloudletScheduler ( new CloudletSchedulerTimeShared ( ) ) ; vmList . add ( vm ) ; } }
Creates a list of VMs for the {@link #broker0}.
Creates a list of VMs for the { @link #broker0 } .