
/**
 * Author: Anthony Sulistio
 * Date: April 2003
 * Description: This file contains the output result when you run Example5.
 * $Id: output.txt,v 1.3 2003/12/14 06:36:14 anthony Exp $
 *
 * NOTE: // denotes a comment made to explain some of the values.
 */

Starting Example6

//-----------------------------------
// 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

//-----------------------------------
// Creating grid users and resources

Creates one Grid resource with name = Resource_0
Creates one Grid resource with name = Resource_1
Creates one Grid resource with name = Resource_2
Creating a grid user entity with name = User_0, and id = 16
User_0:Creating 5 Gridlets
Creating a grid user entity with name = User_1, and id = 19
User_1:Creating 7 Gridlets
Creating a grid user entity with name = User_2, and id = 22
User_2:Creating 4 Gridlets

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

Starting GridSim version 2.2

//------------------------------------
// Created when the program calls GridSim.Start(). Then GridSim.Start()
// 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

//---------------------------------
// Activities inside Example6.body()

User_2:Received ResourceCharacteristics from Resource_2, with id = 13
User_0:Received ResourceCharacteristics from Resource_2, with id = 13
User_2:Received ResourceCharacteristics from Resource_0, with id = 7
User_0:Received ResourceCharacteristics from Resource_0, with id = 7
User_2:Received ResourceCharacteristics from Resource_1, with id = 10
User_1:Received ResourceCharacteristics from Resource_2, with id = 13
User_2:Sending Gridlet_0 to Resource_1 with id = 10
User_0:Received ResourceCharacteristics from Resource_1, with id = 10
User_0:Sending Gridlet_0 to Resource_2 with id = 13
User_1:Received ResourceCharacteristics from Resource_0, with id = 7
User_1:Received ResourceCharacteristics from Resource_1, with id = 10
User_1:Sending Gridlet_0 to Resource_0 with id = 7
User_2:Receiving Gridlet 0
User_2:Sending Gridlet_1 to Resource_1 with id = 10
User_0:Receiving Gridlet 0
User_0:Sending Gridlet_1 to Resource_0 with id = 7
User_1:Receiving Gridlet 0
User_1:Sending Gridlet_1 to Resource_1 with id = 10
User_2:Receiving Gridlet 1
User_2:Sending Gridlet_2 to Resource_2 with id = 13
User_0:Receiving Gridlet 1
User_0:Sending Gridlet_2 to Resource_1 with id = 10
User_1:Receiving Gridlet 1
User_1:Sending Gridlet_2 to Resource_1 with id = 10
User_2:Receiving Gridlet 2
User_2:Sending Gridlet_3 to Resource_0 with id = 7
User_0:Receiving Gridlet 2
User_0:Sending Gridlet_3 to Resource_1 with id = 10
User_1:Receiving Gridlet 2
User_1:Sending Gridlet_3 to Resource_0 with id = 7
User_0:Receiving Gridlet 3
User_0:Sending Gridlet_4 to Resource_1 with id = 10
User_2:Receiving Gridlet 3
User_2:%%%% Exiting body()
User_1:Receiving Gridlet 3
User_1:Sending Gridlet_4 to Resource_1 with id = 10
User_0:Receiving Gridlet 4
User_0:%%%% Exiting body()
User_1:Receiving Gridlet 4
User_1:Sending Gridlet_5 to Resource_1 with id = 10
User_1:Receiving Gridlet 5
User_1:Sending Gridlet_6 to Resource_2 with id = 13
User_1:Receiving Gridlet 6
User_1:%%%% Exiting body()

//-----------------------------------
// 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()

//-----------------------------------
// Printing the result of this example

========== OUTPUT for User_0 ==========
Gridlet ID    STATUS    Resource ID    Cost
    0        SUCCESS        13        27.851458885941646
    1        SUCCESS        7        39.78779840848806
    2        SUCCESS        10        71.61803713527851
    3        SUCCESS        10        15.79751790635025
    4        SUCCESS        10        32.88526895207562

========== OUTPUT for User_1 ==========
Gridlet ID    STATUS    Resource ID    Cost
    0        SUCCESS        7        27.851458885941646
    1        SUCCESS        10        39.78779840848806
    2        SUCCESS        10        71.61803713527851
    3        SUCCESS        7        30.152302876174204
    4        SUCCESS        10        24.838840117318124
    5        SUCCESS        10        13.917732323894345
    6        SUCCESS        13        7.905829421656734

========== OUTPUT for User_2 ==========
Gridlet ID    STATUS    Resource ID    Cost
    0        SUCCESS        10        27.851458885941646
    1        SUCCESS        10        39.78779840848806
    2        SUCCESS        13        71.61803713527851
    3        SUCCESS        7        34.156438891383154

Finish Example6
