cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus-testbeds/src/main/java/org/cloudsimplus/performance/PerformanceTestbed1.java
private void createDatacenter() {
        for(int h = 0; h < HOSTS; h++) {
            Host host = createHost();
            hostList.add(host);
        }

        DatacenterCharacteristics characteristics = new DatacenterCharacteristicsSimple(hostList);
        Datacenter dc0 = new DatacenterSimple(simulation, characteristics, new VmAllocationPolicySimple());
    }
/**
     * Creates a Datacenter and its Hosts.
     */
Creates a Datacenter and its Hosts.
Creates a Datacenter and its Hosts .
private void createDatacenter() {
        for(int h = 0; h < HOSTS; h++) {
            Host host = createHost();
            hostList.add(host);
        }
        DatacenterCharacteristics characteristics = new DatacenterCharacteristicsSimple(hostList);
        Datacenter dc0 = new DatacenterSimple(simulation, characteristics, new VmAllocationPolicySimple());
    }
private void createDatacenter ( ) { for ( int h = 0 ; h < HOSTS ; h ++ ) { Host host = createHost ( ) ; hostList . add ( host ) ; } DatacenterCharacteristics characteristics = new DatacenterCharacteristicsSimple ( hostList ) ; Datacenter dc0 = new DatacenterSimple ( simulation , characteristics , new VmAllocationPolicySimple ( ) ) ; }
Creates a Datacenter and its Hosts.
Creates a Datacenter and its Hosts .