Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update VM processing time #15

Open
saeedehbaneshi opened this issue Nov 30, 2022 · 1 comment
Open

Update VM processing time #15

saeedehbaneshi opened this issue Nov 30, 2022 · 1 comment

Comments

@saeedehbaneshi
Copy link

When updating the other VM processing, first, it sets the new mipsshare of the VM In the following line:

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

@mgoudarzi90
Copy link
Collaborator

Dear Saeedeh,

iFogSim (V1 and V2) is built on top of Cloudsim Engine. The CloudSim Engine is tested and the aforementioned concern does not create any issues.
Hope it helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants