Skip to content

Update VM processing time  #15

Description

@saeedehbaneshi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions