cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus/src/main/java/org/cloudbus/cloudsim/utilizationmodels/UtilizationModelStochastic.java
public void saveHistory(String filename) {
        try (ObjectOutputStream oos = new ObjectOutputStream(new FileOutputStream(filename))){
            oos.writeObject(getHistory());
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
/**
     * Save the utilization history to a file.
     *
     * @param filename the filename
     * @throws Exception the exception
     */
Save the utilization history to a file.
@param filename the filename
@throws Exception the exception
Save the utilization history to a file . @param filename the filename @throws Exception the exception
public void saveHistory(String filename) {
        try (ObjectOutputStream oos = new ObjectOutputStream(new FileOutputStream(filename))){
            oos.writeObject(getHistory());
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
public void saveHistory ( String filename ) { try ( ObjectOutputStream oos = new ObjectOutputStream ( new FileOutputStream ( filename ) ) ) { oos . writeObject ( getHistory ( ) ) ; } catch ( IOException e ) { throw new RuntimeException ( e ) ; } }
Save the utilization history to a file.
Save the utilization history to a file .