cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus-examples/src/main/java/org/cloudbus/cloudsim/examples/power/util/Helper.java
public void printCloudletList(List<CloudletSimple> list) {
        int size = list.size();

        String indent = "\t";
        Log.printLine();
        Log.printLine("========== OUTPUT ==========");
        Log.printLine("Cloudlet ID" + indent + "STATUS" + indent + "Resource ID" + indent + "VM ID" + indent
            + "Time" + indent + "Start Time" + indent + "Finish Time");

        DecimalFormat dft = new DecimalFormat("###.##");
        for (CloudletSimple cloudlet : list) {
            Log.print(indent + cloudlet.getId());

            if (cloudlet.getStatus() == CloudletSimple.Status.SUCCESS) {
                Log.printLine(indent + "SUCCESS" + indent + indent + cloudlet.getLastDatacenter() + indent
                    + cloudlet.getVm() + indent + dft.format(cloudlet.getActualCpuTime()) + indent
                    + dft.format(cloudlet.getExecStartTime()) + indent + indent
                    + dft.format(cloudlet.getFinishTime()));
            }
        }
    }
/**
     * Prints the Cloudlet objects.
     *
     * @param list list of Cloudlets
     */
Prints the Cloudlet objects.
@param list list of Cloudlets
Prints the Cloudlet objects . @param list list of Cloudlets
public void printCloudletList(List<CloudletSimple> list) {
        int size = list.size();
        String indent = "\t";
        Log.printLine();
        Log.printLine("========== OUTPUT ==========");
        Log.printLine("Cloudlet ID" + indent + "STATUS" + indent + "Resource ID" + indent + "VM ID" + indent
            + "Time" + indent + "Start Time" + indent + "Finish Time");
        DecimalFormat dft = new DecimalFormat("###.##");
        for (CloudletSimple cloudlet : list) {
            Log.print(indent + cloudlet.getId());
            if (cloudlet.getStatus() == CloudletSimple.Status.SUCCESS) {
                Log.printLine(indent + "SUCCESS" + indent + indent + cloudlet.getLastDatacenter() + indent
                    + cloudlet.getVm() + indent + dft.format(cloudlet.getActualCpuTime()) + indent
                    + dft.format(cloudlet.getExecStartTime()) + indent + indent
                    + dft.format(cloudlet.getFinishTime()));
            }
        }
    }
public void printCloudletList ( List < CloudletSimple > list ) { int size = list . size ( ) ; String indent = "\t" ; Log . printLine ( ) ; Log . printLine ( "========== OUTPUT ==========" ) ; Log . printLine ( "Cloudlet ID" + indent + "STATUS" + indent + "Resource ID" + indent + "VM ID" + indent + "Time" + indent + "Start Time" + indent + "Finish Time" ) ; DecimalFormat dft = new DecimalFormat ( "###.##" ) ; for ( CloudletSimple cloudlet : list ) { Log . print ( indent + cloudlet . getId ( ) ) ; if ( cloudlet . getStatus ( ) == CloudletSimple . Status . SUCCESS ) { Log . printLine ( indent + "SUCCESS" + indent + indent + cloudlet . getLastDatacenter ( ) + indent + cloudlet . getVm ( ) + indent + dft . format ( cloudlet . getActualCpuTime ( ) ) + indent + dft . format ( cloudlet . getExecStartTime ( ) ) + indent + indent + dft . format ( cloudlet . getFinishTime ( ) ) ) ; } } }
Prints the Cloudlet objects.
Prints the Cloudlet objects .