From: Gilberto C. <gil...@gm...> - 2008-11-28 12:41:22
|
Thanks Rajiv-Ranjan, for your clear answer. I'm understand how gridsim clock work and i fixed my problem. Regards, Gilberto Cunha On Thu, Nov 27, 2008 at 9:34 AM, Rajiv-Ranjan RAJIV-RANJAN < rr...@cs...> wrote: > On Mon, 24 Nov 2008 08:35:25 -0300, Gilberto Cunha wrote > > Hi... My name is Gilberto. > > > > I'm trying understand, how the clock of the gridsim work, but i don't > > understand very well.. > > Could you explain how gridsim clock is work and how the clock of the > > gridsim is increased? > > This is how GRidSim Clock works > > When one starts the Simulation, at that time T = 0 secs > > Suppose a event is scheduled at time t1 after delay t = 1000 GridSim > Secs... > it is added to future event queue of SimJava, the queue is always > monitored > by a live Thread, which has high priority in CPU scheduling. > > When the thread reads the queue finds there is event in the queue for some > object X in the simulation system. What it does is it increments the > GridSim > clock to T = 1000, and delivers the event to object X. > > Say at t2, a event is scheduled after delay t = 300 (note this delay is > relative to current GridSim Clock time not from 0 secs), t = 300 means the > event is scheduled for event t =1300. > > Similar to first case the Monitor thread consumes this event from future > event > queue and passes to the destination object; and increments GridSim clock to > 1300...This way all events are processed in First Come and First Serve > basis. > > > The main point to note here is that the events are scheduled relative to > the > current GridSim Clock.... > > > I hope this makes things clear. > > > Thanks > Dr. Rajiv Ranjan > > > > > > > One doubt, for example: what's happen when: an entity 'X' is started > > and send an event for itself at 3600 seconds. After in other moment, > > an entity 'A' send an event for entity 'B' at 320 second. How > > GridSim clock is synchronized? > > > > Other doubt is, how resources register influence the gridsim clock? > > > > Regards and Thanks for your atention, > > > > Gilberto > > > > On Mon, Nov 24, 2008 at 7:18 AM, < > > gri...@li...> wrote: > > > > > Send Gridsim-users mailing list submissions to > > > gri...@li... > > > > > > To subscribe or unsubscribe via the World Wide Web, visit > > > https://lists.sourceforge.net/lists/listinfo/gridsim-users > > > or, via email, send a message with subject or body 'help' to > > > gri...@li... > > > > > > You can reach the person managing the list at > > > gri...@li... > > > > > > When replying, please edit your Subject line so it is more specific > > > than "Re: Contents of Gridsim-users digest..." > > > > > > > > > Today's Topics: > > > > > > 1. Re: GridSim instalation (Anthony Sulistio) > > > > > > > > > ---------------------------------------------------------------------- > > > > > > Message: 1 > > > Date: Mon, 24 Nov 2008 21:18:28 +1100 (EST) > > > From: Anthony Sulistio <an...@cs...> > > > Subject: Re: [GridSim-users] GridSim instalation > > > To: Gil Noe Zavala Ramirez <gt...@ya...> > > > Cc: her...@ho..., gri...@li... > > > Message-ID: > > > <Pin...@mu...> > > > Content-Type: text/plain; charset="iso-8859-1" > > > > > > > > > Hi Gil and Juan, > > > > > > On GridSim website, under the Documentation section, there > > > are instructions on how to use GridSim with a Java IDE: > > > * Eclipse http://www.gridbus.org/gridsim/paper/eclipse.pdf > > > * JBuilder http://www.gridbus.org/gridsim/paper/jbuilder.pdf > > > * JCreator http://www.gridbus.org/gridsim/paper/jcreator.pdf > > > > > > > > > In the future, please email us through our mailing list: > > > gridsim-users (at) lists.sourceforge.net : > > > for general queries and feedbacks. > > > > > > gridsim-developers (at) lists.sourceforge.net : > > > for contributing to GridSim or questions related to the existing > > > GridSim code. > > > > > > To subscribe to the above mailing lists, please go to: > > > https://lists.sourceforge.net/lists/listinfo/gridsim-users > > > https://lists.sourceforge.net/lists/listinfo/gridsim-developers > > > > > > > > > anthony > > > > > > > > > On Thu, 20 Nov 2008, Gil Noe Zavala Ramirez wrote: > > > > > > > Hi > > > > my name is Gil > > > > and... > > > > I am?student of the technologic institute of Mexicali > > > http://www.itmexicali.edu.mx/,?? > > > > I have problems about how to install gridsimtoolkit in windows vista > and > > > > XP with easy eclipse or jcreator. > > > > ? > > > > the type of problem is shown like this: > > > > ? > > > > package Gridsim does not exist. > > > > cannot find symbol class GridletList. > > > > ? > > > > please can you lend? a hand, Mr.Anthony. > > > > ? > > > > Regards: > > > > ? > > > > Zavala Ramirez Gil Noe. > > > > > > > > > ?Todo sobre Amor y Sexo! > > > La gu?a completa para tu vida en Mujer de Hoy. > > > http://mx.mujer.yahoo.com/ > > > > > > ------------------------------ > > > > > > > ------------------------------------------------------------------------- > > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > > challenge > > > Build the coolest Linux based applications with Moblin SDK & win great > > > prizes > > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > > > > ------------------------------ > > > > > > _______________________________________________ > > > Gridsim-users mailing list > > > Gri...@li... > > > https://lists.sourceforge.net/lists/listinfo/gridsim-users > > > > > > > > > End of Gridsim-users Digest, Vol 57, Issue 1 > > > ******************************************** > > > > > > > -- > > Gilberto Cunha Filho > > gil...@gm... > > SISMO - Laboratório de Sistemas e Mobilidade > > UFMA > > > warm regards > --------------------------------- > Rajiv Ranjan > http://www.cs.mu.oz.au/~rranjan <http://www.cs.mu.oz.au/%7Erranjan> > CSSE Dept. > The University of Melbourne > VIC, AU > > -- Gilberto Cunha Filho gil...@gm... SISMO - Laboratório de Sistemas e Mobilidade UFMA |