task flow and network from mobile device to edge orchestrator is modified
1- finding which device to offlod is decided in edge orchestrator (EdgeOrchestrator), instead of deciding while generating task (LoadGeneratorModel) 2- file logging option is now read from config file 3- minor modification on the network delay calculation
This commit is contained in:
@@ -86,17 +86,8 @@ public class IdleActiveLoadGenerator extends LoadGeneratorModel{
|
||||
virtualTime = activePeriodStartTime;
|
||||
continue;
|
||||
}
|
||||
|
||||
boolean requireCloud = false;
|
||||
if(!simScenario.equals("SINGLE_TIER")){
|
||||
//decide to use cloud or cloudlet VM
|
||||
int CloudVmPicker = SimUtils.getRandomNumber(0, 100);
|
||||
|
||||
if(CloudVmPicker <= SimSettings.getInstance().getTaskLookUpTable()[randomTaskType.ordinal()][1])
|
||||
requireCloud = true;
|
||||
}
|
||||
|
||||
taskList.add(new EdgeTask(i,randomTaskType, virtualTime, requireCloud, poissonRngList));
|
||||
taskList.add(new EdgeTask(i,randomTaskType, virtualTime, poissonRngList));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user