cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus/src/main/java/org/cloudbus/cloudsim/util/WorkloadFileReader.java
private Cloudlet createCloudlet(final int id,
                                    final long submitTime, final int runTime,
                                    final int numProc, final int userID, final int groupID)
    {
        final int len = runTime * mips;
        final UtilizationModel utilizationModel = new UtilizationModelFull();
        final Cloudlet cloudlet = new CloudletSimple(id, len, numProc)
            .setFileSize(DataCloudTags.DEFAULT_MTU)
            .setOutputSize(DataCloudTags.DEFAULT_MTU)
            .setUtilizationModel(utilizationModel);
        return cloudlet;
    }
/**
     * Creates a Cloudlet with the given information.
     *
     * @param id         a Cloudlet ID
     * @param submitTime Cloudlet's submit time
     * @param runTime    The number of seconds the Cloudlet has to run.
     *                   {@link Cloudlet#getLength()} is computed based on
     *                   the {@link #getMips() mips} and this value.
     * @param numProc    number of Cloudlet's PEs
     * @param userID     user id
     * @param groupID    user's group id
     * @return the created Cloudlet
     * @pre id >= 0
     * @pre submitTime >= 0
     * @pre runTime >= 0
     * @pre numProc > 0
     * @post $none
     * @see #mips
     */
Creates a Cloudlet with the given information.
@param id         a Cloudlet ID
@param submitTime Cloudlet's submit time
@param runTime    The number of seconds the Cloudlet has to run.
Cloudlet#getLength() is computed based on
the  #getMips() mips and this value.
Creates a Cloudlet with the given information . @param id a Cloudlet ID @param submitTime Cloudlet ' s submit time @param runTime The number of seconds the Cloudlet has to run . Cloudlet#getLength () is computed based on the #getMips () mips and this value .
private Cloudlet createCloudlet(final int id,
                                    final long submitTime, final int runTime,
                                    final int numProc, final int userID, final int groupID)
    {
        final int len = runTime * mips;
        final UtilizationModel utilizationModel = new UtilizationModelFull();
        final Cloudlet cloudlet = new CloudletSimple(id, len, numProc)
            .setFileSize(DataCloudTags.DEFAULT_MTU)
            .setOutputSize(DataCloudTags.DEFAULT_MTU)
            .setUtilizationModel(utilizationModel);
        return cloudlet;
    }
private Cloudlet createCloudlet ( final int id , final long submitTime , final int runTime , final int numProc , final int userID , final int groupID ) { final int len = runTime * mips ; final UtilizationModel utilizationModel = new UtilizationModelFull ( ) ; final Cloudlet cloudlet = new CloudletSimple ( id , len , numProc ) . setFileSize ( DataCloudTags . DEFAULT_MTU ) . setOutputSize ( DataCloudTags . DEFAULT_MTU ) . setUtilizationModel ( utilizationModel ) ; return cloudlet ; }
Creates a Cloudlet with the given information.
Creates a Cloudlet with the given information .