cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus/src/test/java/org/cloudbus/cloudsim/vms/VmSimpleTest.java
public static VmSimple createVmWithSpecificNumberOfPEsForSpecificUser(
        final int vmId, final DatacenterBroker broker, final int numberOfPes) {
        final VmSimple vm = createVm(vmId, MIPS, numberOfPes, RAM, BW, SIZE, CloudletScheduler.NULL);
        vm.setBroker(broker);
        return vm;
    }
/**
     * Creates a VM with the given numberOfPes for a given user and default
     * configuration for HOST_MIPS, HOST_RAM, HOST_BW and Storage.
     *
     * @param vmId
     * @param broker
     * @param numberOfPes
     * @return
     */
Creates a VM with the given numberOfPes for a given user and default
configuration for HOST_MIPS, HOST_RAM, HOST_BW and Storage.


Creates a VM with the given numberOfPes for a given user and default configuration for HOST_MIPS HOST_RAM HOST_BW and Storage .
public static VmSimple createVmWithSpecificNumberOfPEsForSpecificUser(
        final int vmId, final DatacenterBroker broker, final int numberOfPes) {
        final VmSimple vm = createVm(vmId, MIPS, numberOfPes, RAM, BW, SIZE, CloudletScheduler.NULL);
        vm.setBroker(broker);
        return vm;
    }
public static VmSimple createVmWithSpecificNumberOfPEsForSpecificUser ( final int vmId , final DatacenterBroker broker , final int numberOfPes ) { final VmSimple vm = createVm ( vmId , MIPS , numberOfPes , RAM , BW , SIZE , CloudletScheduler . NULL ) ; vm . setBroker ( broker ) ; return vm ; }
Creates a VM with the given numberOfPes for a given user and default
 configuration for HOST_MIPS, HOST_RAM, HOST_BW and Storage.
Creates a VM with the given numberOfPes for a given user and default configuration for HOST_MIPS HOST_RAM HOST_BW and Storage .