cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus/src/main/java/org/cloudbus/cloudsim/cloudlets/CloudletExecutionInfo.java
private void startOrResumeCloudlet(final Cloudlet.Status newStatus, final Cloudlet.Status oldStatus) {
        final double clock = cloudlet.getSimulation().clock();
        if (newStatus == Cloudlet.Status.INEXEC || (oldStatus == Cloudlet.Status.PAUSED && newStatus == Cloudlet.Status.RESUMED)) {
            startExecTime = clock;
            if(cloudlet.getExecStartTime() == 0) {
                cloudlet.setExecStartTime(startExecTime);
            }
        }
    }
/**
     * Starts or resumes the Cloudlet if the new status is requesting that.
     *
     * @param newStatus the new status that will be checked to start or resume the Cloudlet
     * @param oldStatus the old Cloudlet status
     */
Starts or resumes the Cloudlet if the new status is requesting that.
@param newStatus the new status that will be checked to start or resume the Cloudlet
@param oldStatus the old Cloudlet status
Starts or resumes the Cloudlet if the new status is requesting that . @param newStatus the new status that will be checked to start or resume the Cloudlet @param oldStatus the old Cloudlet status
private void startOrResumeCloudlet(final Cloudlet.Status newStatus, final Cloudlet.Status oldStatus) {
        final double clock = cloudlet.getSimulation().clock();
        if (newStatus == Cloudlet.Status.INEXEC || (oldStatus == Cloudlet.Status.PAUSED && newStatus == Cloudlet.Status.RESUMED)) {
            startExecTime = clock;
            if(cloudlet.getExecStartTime() == 0) {
                cloudlet.setExecStartTime(startExecTime);
            }
        }
    }
private void startOrResumeCloudlet ( final Cloudlet . Status newStatus , final Cloudlet . Status oldStatus ) { final double clock = cloudlet . getSimulation ( ) . clock ( ) ; if ( newStatus == Cloudlet . Status . INEXEC || ( oldStatus == Cloudlet . Status . PAUSED && newStatus == Cloudlet . Status . RESUMED ) ) { startExecTime = clock ; if ( cloudlet . getExecStartTime ( ) == 0 ) { cloudlet . setExecStartTime ( startExecTime ) ; } } }
Starts or resumes the Cloudlet if the new status is requesting that.
Starts or resumes the Cloudlet if the new status is requesting that .