Re: [Gems-users] Question about global event queue management


Date: Thu, 24 May 2007 09:59:24 +0800
From: "hongxia sun" <sunhx.seraph@xxxxxxxxx>
Subject: Re: [Gems-users] Question about global event queue management
Hi,
 
Yes, you are right. All the event will be recorded into the global event queue. And these "insert" is done be the "enqueue" operation of each queue. When a message is enqueued into a queue such as mandatory queue or network queue, the "enqueue" action will register the msg into global event queue with its consumer and delay time.
You can look into the code in GEMS/ruby/buffers/MessageBuffer.C->enqueue().

 
2007/5/24, Juyoung Jung <juyoung.jung@xxxxxxxxx>:
Hi,  everyone.
I have a question about global event queue.
According to the previous thread answer( https://lists.cs.wisc.edu/archive/gems-users/2007-April/msg00074.shtml
and https://lists.cs.wisc.edu/archive/gems-users/2007-April/msg00146.shtml), a global event queue for all separate nodes is used for simulation. Does this mean that the global event queue also get the same entry whenever each node's queue such as mandatory queue or their own network queue comes to have new entry? If it is the case, could you let me know who perform the insert operation? I couldn't find out it except that self-ordering priority heap is being used under scheduling method of event queue.  In more specifically,  I would like to know WHEN(which condition) and BY WHOM it should be carried out.
Thanks for your response in advance.



Regards,

Young


_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/ " to your search.



[← Prev in Thread] Current Thread [Next in Thread→]