I"m not sure I understand your question. Here's the (I believe) relevant part of the comments:
* Asynchronous events can also be scheduled using the normal * schedule() method with the 'global' parameter set to true. Unlike * the previous queue migration strategy, this strategy is fully * deterministic. This causes the event to be inserted in a separate * queue of asynchronous events (async_queue), which is merged main * event queue at the end of each simulation quantum (by calling the * handleAsyncInsertions() method). Note that this implies that such * events must happen at least one simulation quantum into the future, * otherwise they risk being scheduled in the past by * handleAsyncInsertions(). On Tue, Oct 14, 2014 at 2:18 AM, fela via gem5-users <gem5-users@gem5.org> wrote: > > > Steve Reinhardt via gem5-users <gem5-users <at> gem5.org> writes: > > > > > > > Have you looked at the comments in src/sim/eventq.hh? > > Are you interested in parallel simulation or the default single-threaded > case? > > > > Steve > > > > > > On Mon, Oct 13, 2014 at 3:29 AM, fela via gem5-users <gem5-users <at> > gem5.org> wrote:Hi everyone! > > I'm trying to understand the simulation core of gem5. Due to the lack of > > documentation, I post this question hoping to find a response. > > How events are managed in gem5? is there one clock for all the objects > and > > one scheduler like in systemC? I read in the site that each object > schedules > > its own events but global events exist in the source code! If so, how > queues > > are synchronized? > > Can somebody clarify this point, > > thanks, > > Fela > > PhD candidate > > _______________________________________________ > > gem5-users mailing listgem5-users <at> > gem5.orghttp://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > > > > > > > > > > > > > > _______________________________________________ > > gem5-users mailing list > > gem5-users <at> gem5.org > > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > > Hi Steve! > > I have already looked to src/sim/eventq.hh but I didn't understand how the > object order is determined in the parallel simulation case. > Can you please explain the processus on a small example: > when two objects have to send paquets to each other in parallel, how the > events are managed and how about the clocks? > > Thanks, > Fela > PhD candidate > > > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users