
/**
 * Author: Anthony Sulistio
 * Date: April 2003
 * Description: This file contains the output result when you run Example1.
 * $Id: output.txt,v 1.4 2003/06/30 05:21:58 anthony Exp $
 *
 * NOTE: // denotes a comment made to explain some of the values.
 */

//-----------------------------------
// Created when the program (i.e. Example1.java) calls GridSim.init()
// Then GridSim.init() calls Sim_system.initialise(). Therefore, the below
// statement is created by the Sim_system class.  

SimJava V1.2 - Ross McNab and Fred Howell

//-----------------------------------
// Created by GridSim.Start()

GridSim 2.1 --  R. Buyya and M. Murshed

// Created when the program calls GridSim.startGridSimulation(). 
// Then GridSim.startGridSimulation()
// refers to Sim_system.run(). Therefore, the below three statements denote 
// start of running a simulation.

Sim_system: Entering main loop
Sim_system: Starting entities
Sim_system: Waiting for entities to startup

//-----------------------------------
// When the program creates an UserEntity object, the object will also
// create a Broker object. The Broker.body() lists the below statement,
// consisting the entity or user name with "Broker_" prefix, deadline
// and budget costs (taken from Experiment class). 

Broker_User0:: Deadline: 10000.0 Budget: 10000.0

//-----------------------------------
// Below statements are created by UserEntity.body() with "result_display"
// variable is set to "true". The below statements indicate one user has three
// Gridlets. All of these Gridlets have been proceed sucessfully.
// GL_SubmissionTime = Gridlet submission time (in terms of simulation clock)
// GL_StartTime = the time Gridlet starts to execute
// GL_FinishTime = the time to complete processing a Gridlet
// GL_actualCPUTime = the CPU time
// GL_WallClockTime = the actual real time
// Resource Name = the name of a resouce that processes the Gridlet

User0:: Experiment Schedule
-----------------------------------
UserID | GridLetID | Status | Resource ID | GL_SubmissionTime | GL_StartTime | Gl_FinishTime | GL_actualCPUtime | GL_WallClockTime | Resource Name
User0 | 0 | Success | 7 | 12.518453625303154 | 12.518453625303154 | 21.802273253950368 | 9.283819628647215 | 9.283819628647214 | Resource0
User0 | 1 | Success | 7 | 21.447025053874583 | 21.447025053874583 | 34.70962452337061 | 13.26259946949602 | 13.262599469496024 | Resource0
User0 | 2 | Success | 7 | 37.51845362530315 | 37.51845362530315 | 61.39113267039599 | 23.872679045092838 | 23.872679045092838 | Resource0

// The UserEntity.body() also creates the below statements (if set
// "result_display" to "true").

******** Experiment Report ********
No. of Gridlets: 3

// the deadline factor set by the program (i.e. Example1.java)
Deadline Factor: 0.0

// the experiment deadline cost or value
Deadline: 10000.0

// the experiment deadline time
Deadline Time: 10004.732739339588

// the budget factor set by the program
Budget Factor: 0.0

// the experiment budget cost or value
Budget: 10000.0

// the experiment strategy set by the program. In this example, we can to
// optimize time
Stratergy: OPTIMIZE_TIME

// the simulation start time, based on Sim_system.clock()
Start Time: 4.73273933958887

// the simulation end time, based on Sim_system.clock()
End Time: 77.46256124182456

// the budget spent on successful gridlets only
Budget Spent: 139.25729442970822

// the number of gridlets that are successfully executed
Gridlets Executed: 3

// the ratio of successful gridlets' completion.
// 1.0 means 100% success rate
Gridlet Completion Factor: 1.0

// A summary of important facts such as time and budget utilization
GridletCompletion: 3	TimeUtilization: 72	BudgetUtilization: 139

//-----------------------------------
// When there are no more events to process, then SimJava will exit the program
// Then GridSim will exit as well

Sim_system: No more future events
Exiting Sim_system.run()

