cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus-examples/src/main/java/org/cloudsimplus/examples/VmSchedulerTimeSharedOverSubscriptionExample1.java
private void createVms() {
        for (int i = 0; i < VMS; i++) {
            Vm vm =
                new PowerVm(VM_MIPS, VM_PES)
                    .setRam(512).setBw(1000).setSize(10000)
                    .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 i = 0; i < VMS; i++) {
            Vm vm =
                new PowerVm(VM_MIPS, VM_PES)
                    .setRam(512).setBw(1000).setSize(10000)
                    .setCloudletScheduler(new CloudletSchedulerTimeShared());
            vmList.add(vm);
        }
    }
private void createVms ( ) { for ( int i = 0 ; i < VMS ; i ++ ) { Vm vm = new PowerVm ( VM_MIPS , VM_PES ) . setRam ( 512 ) . setBw ( 1000 ) . setSize ( 10000 ) . setCloudletScheduler ( new CloudletSchedulerTimeShared ( ) ) ; vmList . add ( vm ) ; } }
Creates a list of VMs for the {@link #broker0}.
Creates a list of VMs for the { @link #broker0 } .