public Cloudlet( int cloudletId, long cloudletLength, int pesNumber, long cloudletFileSize, long cloudletOutputSize, UtilizationModel utilizationModelCpu, UtilizationModel utilizationModelRam, UtilizationModel utilizationModelBw) : this( cloudletId, cloudletLength, pesNumber, cloudletFileSize, cloudletOutputSize, utilizationModelCpu, utilizationModelRam, utilizationModelBw, false) { vmId = -1; accumulatedBwCost = 0; costPerBw = 0; requiredFiles = new List <String>(); }
public DefaultExecutableCloudlet( int cloudletId, long cloudletLength, int pesNumber, long cloudletFileSize, long cloudletOutputSize, UtilizationModel utilizationModelCpu, UtilizationModel utilizationModelRam, UtilizationModel utilizationModelBw) : base(cloudletId, cloudletLength, pesNumber, cloudletFileSize, cloudletOutputSize, utilizationModelCpu, utilizationModelRam, utilizationModelBw) { }
public Cloudlet( int cloudletId, long cloudletLength, int pesNumber, long cloudletFileSize, long cloudletOutputSize, UtilizationModel utilizationModelCpu, UtilizationModel utilizationModelRam, UtilizationModel utilizationModelBw, bool record, List <String> fileList) : this( cloudletId, cloudletLength, pesNumber, cloudletFileSize, cloudletOutputSize, utilizationModelCpu, utilizationModelRam, utilizationModelBw, record) { vmId = -1; accumulatedBwCost = 0.0; costPerBw = 0.0; requiredFiles = fileList; }
public Cloudlet( int cloudletId, long cloudletLength, int pesNumber, long cloudletFileSize, long cloudletOutputSize, UtilizationModel utilizationModelCpu, UtilizationModel utilizationModelRam, UtilizationModel utilizationModelBw, bool record) { userId = -1; status = CREATED; this.cloudletId = cloudletId; numberOfPes = pesNumber; execStartTime = 0.0; finishTime = -1.0; classType = 0; netToS = 0; this.cloudletLength = Math.Max(1, cloudletLength); this.cloudletFileSize = Math.Max(1, cloudletFileSize); this.cloudletOutputSize = Math.Max(1, cloudletOutputSize); resList = new List <Resource>(2); index = -1; this.record = record; vmId = -1; accumulatedBwCost = 0.0; costPerBw = 0.0; requiredFiles = new List <String>(); SetUtilizationModelCpu(utilizationModelCpu); SetUtilizationModelRam(utilizationModelRam); SetUtilizationModelBw(utilizationModelBw); }
public void SetUtilizationModelBw(UtilizationModel utilizationModelBw) { this.utilizationModelBw = utilizationModelBw; }
public void SetUtilizationModelRam(UtilizationModel utilizationModelRam) { this.utilizationModelRam = utilizationModelRam; }
public void SetUtilizationModelCpu(UtilizationModel utilizationModelCpu) { this.utilizationModelCpu = utilizationModelCpu; }