Skip to content

Instantly share code, notes, and snippets.

View amarnathbh's full-sized avatar

Amarnath B H amarnathbh

View GitHub Profile
@amarnathbh
amarnathbh / RoundRobinDatacenterBroker.java
Created February 19, 2016 23:14 — forked from alessandroleite/RoundRobinDatacenterBroker.java
An example of DatacenterBroker that allocates the VMs following the Round-Robin algorithm.
package org.cloudbus.cloudsim.examples;
import java.util.List;
import org.cloudbus.cloudsim.DatacenterBroker;
import org.cloudbus.cloudsim.DatacenterCharacteristics;
import org.cloudbus.cloudsim.Log;
import org.cloudbus.cloudsim.Vm;
import org.cloudbus.cloudsim.core.CloudSim;
import org.cloudbus.cloudsim.core.CloudSimTags;