When updating the other VM processing, first, it sets the new mipsshare of the VM In the following line:
|
setCurrentMipsShare(mipsShare); |
Then, it calculates the FinishedSoFar in line 70:
|
rcl.updateCloudletFinishedSoFar((long) (getCapacity(mipsShare) * timeSpam * rcl.getNumberOfPes() * Consts.MILLION)); |
While I think, First, it should calculate FinishedSoFar(which has happened based on the previous mipshare of the VM), then update the mipsshare of the VM (to calculate the processing time of the remaining length based on the new mipsshare).
Would you please check this and let me know if we should move line 70 after that?
Best,
Saeedeh
When updating the other VM processing, first, it sets the new mipsshare of the VM In the following line:
iFogSim/src/org/cloudbus/cloudsim/CloudletSchedulerTimeShared.java
Line 65 in fca02da
Then, it calculates the FinishedSoFar in line 70:
iFogSim/src/org/cloudbus/cloudsim/CloudletSchedulerTimeShared.java
Line 70 in fca02da
While I think, First, it should calculate FinishedSoFar(which has happened based on the previous mipshare of the VM), then update the mipsshare of the VM (to calculate the processing time of the remaining length based on the new mipsshare).
Would you please check this and let me know if we should move line 70 after that?
Best,
Saeedeh