cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus/src/main/java/org/cloudbus/cloudsim/core/CloudSim.java
public boolean doPause() {
        if(running && isPauseRequested()) {
            paused=true;
            setClock(pauseAt);
            notifyOnSimulationPausedListeners();
            return true;
        }

        return false;
    }
/**
     * Effectively pauses the simulation after an pause request.
     * @return true if the simulation was paused (the simulation is running and was not paused yet), false otherwise
     * @see #pause()
     * @see #pause(double)
     */
Effectively pauses the simulation after an pause request.
@return true if the simulation was paused (the simulation is running and was not paused yet), false otherwise
@see #pause()
@see #pause(double)
Effectively pauses the simulation after an pause request . @return true if the simulation was paused ( the simulation is running and was not paused yet ) false otherwise @see #pause () @see #pause ( double )
public boolean doPause() {
        if(running && isPauseRequested()) {
            paused=true;
            setClock(pauseAt);
            notifyOnSimulationPausedListeners();
            return true;
        }
        return false;
    }
public boolean doPause ( ) { if ( running && isPauseRequested ( ) ) { paused = true ; setClock ( pauseAt ) ; notifyOnSimulationPausedListeners ( ) ; return true ; } return false ; }
Effectively pauses the simulation after an pause request.
Effectively pauses the simulation after an pause request .