question: public static void main ( String [ ] args ) { Log . printLine ( "Starting CloudSimExample6..." ) ; try { int num_user = 1 ; Calendar calendar = Calendar . getInstance ( ) ; boolean trace_flag = false ; CloudSim . init ( num_user , calendar , trace_flag ) ; @ SuppressWarnings ( "unused" ) Datacenter datacenter0 = createDatacenter ( "Datacenter_0" ) ; @ SuppressWarnings ( "unused" ) Datacenter datacenter1 = createDatacenter ( "Datacenter_1" ) ; DatacenterBroker broker = createBroker ( ) ; int brokerId = broker . getId ( ) ; vmlist = createVM ( brokerId , 20 ) ; cloudletList = createCloudlet ( brokerId , 40 ) ; broker . submitVmList ( vmlist ) ; broker . submitCloudletList ( cloudletList ) ; CloudSim . startSimulation ( ) ; List < Cloudlet > newList = broker . getCloudletReceivedList ( ) ; CloudSim . stopSimulation ( ) ; printCloudletList ( newList ) ; Log . printLine ( "CloudSimExample6 finished!" ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; Log . printLine ( "The simulation has been terminated due to an unexpected error" ) ; } }
target:  Creates main() to run this example