From: Anthony S. <an...@cs...> - 2008-08-19 01:59:04
|
GridSim.clock() is in second (default unit). It is not real time, instead it is a DISCRETE time. The GridSim time jumps based on the arrival of new events, e.g. simulation time = 0, 40, 100, 700, ... As an anology, the time is similar to a train/bus timetable on a particular station/stop. For example, you run a GridSim experiment. The clock time in your PC says Tuesday, 19 Aug 2008, 11:00 When simulation starts, GridSim.clock() = 0. When GridSim.clock() shows 1000, it means that at time 1000, a new event is happening in the experiment. It has nothing to do with the actual CPU time. Your experiment might finish 2 minutes later at Tuesday, 19 Aug 2008, 11:02. anthony On Mon, 18 Aug 2008, Andrey NECHAEVSKIY wrote: > Hello all, > I have a question about simulation time. > GridSim.clock() - in milliseconds? and how this time of simulation > correlate with real time, for example GridSim.clock shows 1000 - what > does it mean? What it is in real? > Thanks in advance. > > best regards, Andrey > > ------------------------------------------------------------------------- > 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 > |