diff --git a/sources/org/workflowsim/WorkflowDatacenter.java b/sources/org/workflowsim/WorkflowDatacenter.java index 767cc628..fdefa004 100644 --- a/sources/org/workflowsim/WorkflowDatacenter.java +++ b/sources/org/workflowsim/WorkflowDatacenter.java @@ -280,7 +280,7 @@ protected double processDataStageIn(List requiredFiles, Cloudlet cl) throw /** * Picks up the site that is closest */ - if (cl.getClassType() == ClassType.STAGE_IN.value) { + //if (cl.getClassType() == ClassType.STAGE_IN.value) { double maxRate = Double.MIN_VALUE; for (Storage storage : getStorageList()) { double rate = storage.getMaxTransferRate(); @@ -290,7 +290,7 @@ protected double processDataStageIn(List requiredFiles, Cloudlet cl) throw } //Storage storage = getStorageList().get(0); time += file.getSize() / maxRate; - } + //} break; case LOCAL: int vmId = cl.getVmId();