cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus-examples/src/main/java/org/cloudsimplus/examples/workload/SwfWorkloadFormatExample1.java
private void printCloudletList(List<Cloudlet> list) {
        int size = list.size();
        Cloudlet cloudlet;

        String indent = "    ";
        Log.printLine();
        Log.printLine("========== OUTPUT ==========");
        Log.printLine("       #" + indent + "Cloudlet" + indent + "STATUS " + indent
                + "Datacenter" + indent + "      VM" + indent + "Exec. Time" + indent
                + "Start Time" + indent + "Finish Time");

        for (int i = 0; i < size; i++) {
            cloudlet = list.get(i);
            String line =
                String.format(
                    "%8d    %8d    %7s    %10d    %8d    %10.0f    %10.0f    %11.0f",
                    (i+1),
                    cloudlet.getId(),
                    cloudlet.getStatus().name(),
                    cloudlet.getLastDatacenter(),
                    cloudlet.getVm().getId(),
                    cloudlet.getActualCpuTime(),
                    cloudlet.getExecStartTime(),
                    cloudlet.getFinishTime()
                );
            Log.printLine(line);
        }
    }
/**
     * 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
private void printCloudletList(List<Cloudlet> list) {
        int size = list.size();
        Cloudlet cloudlet;
        String indent = "    ";
        Log.printLine();
        Log.printLine("========== OUTPUT ==========");
        Log.printLine("       #" + indent + "Cloudlet" + indent + "STATUS " + indent
                + "Datacenter" + indent + "      VM" + indent + "Exec. Time" + indent
                + "Start Time" + indent + "Finish Time");
        for (int i = 0; i < size; i++) {
            cloudlet = list.get(i);
            String line =
                String.format(
                    "%8d    %8d    %7s    %10d    %8d    %10.0f    %10.0f    %11.0f",
                    (i+1),
                    cloudlet.getId(),
                    cloudlet.getStatus().name(),
                    cloudlet.getLastDatacenter(),
                    cloudlet.getVm().getId(),
                    cloudlet.getActualCpuTime(),
                    cloudlet.getExecStartTime(),
                    cloudlet.getFinishTime()
                );
            Log.printLine(line);
        }
    }
private void printCloudletList ( List < Cloudlet > list ) { int size = list . size ( ) ; Cloudlet cloudlet ; String indent = "    " ; Log . printLine ( ) ; Log . printLine ( "========== OUTPUT ==========" ) ; Log . printLine ( "       #" + indent + "Cloudlet" + indent + "STATUS " + indent + "Datacenter" + indent + "      VM" + indent + "Exec. Time" + indent + "Start Time" + indent + "Finish Time" ) ; for ( int i = 0 ; i < size ; i ++ ) { cloudlet = list . get ( i ) ; String line = String . format ( "%8d    %8d    %7s    %10d    %8d    %10.0f    %10.0f    %11.0f" , ( i + 1 ) , cloudlet . getId ( ) , cloudlet . getStatus ( ) . name ( ) , cloudlet . getLastDatacenter ( ) , cloudlet . getVm ( ) . getId ( ) , cloudlet . getActualCpuTime ( ) , cloudlet . getExecStartTime ( ) , cloudlet . getFinishTime ( ) ) ; Log . printLine ( line ) ; } }
Prints the Cloudlet objects.
Prints the Cloudlet objects .