gem5/src/mem/ruby/network
Nilay Vaish 39e9445468 ruby: consumer: avoid using receiver side clock
A set of patches was recently committed to allow multiple clock domains
in ruby. In those patches, I had inadvertently made an incorrect use of
the clocks. Suppose object A needs to schedule an event on object B. It
was possible that A accesses B's clock to schedule the event. This is not
possible in actual system. Hence, changes are being to the Consumer class
so as to avoid such happenings. Note that in a multi eventq simulation,
this can possibly lead to an incorrect simulation.

There are two functions in the Consumer class that are used for scheduling
events. The first function takes in the relative delay over the current time
as the argument and adds the current time to it for scheduling the event.
The second function takes in the absolute time (in ticks) for scheduling the
event. The first function is now being moved to protected section of the
class so that only objects of the derived classes can use it. All other
objects will have to specify absolute time while scheduling an event
for some consumer.
2013-03-22 15:53:26 -05:00
..
fault_model sim: Include object header files in SWIG interfaces 2012-11-02 11:32:01 -05:00
garnet ruby: consumer: avoid using receiver side clock 2013-03-22 15:53:26 -05:00
orion ruby: Fix gcc 4.8 maybe-uninitialized compilation error 2013-03-07 05:55:02 -05:00
simple ruby: network: move routers from topology to network 2013-03-22 15:53:22 -05:00
BasicLink.cc network: basic link bw for garnet and simple networks 2011-04-28 17:18:14 -07:00
BasicLink.hh ruby: replaces Time with Cycles in many places 2013-02-10 21:26:24 -06:00
BasicLink.py ruby: replaces Time with Cycles in many places 2013-02-10 21:26:24 -06:00
BasicRouter.cc Ruby: use ClockedObject in Consumer class 2013-01-14 10:04:21 -06:00
BasicRouter.hh Ruby: use ClockedObject in Consumer class 2013-01-14 10:04:21 -06:00
BasicRouter.py Ruby: use ClockedObject in Consumer class 2013-01-14 10:04:21 -06:00
Network.cc ruby: convert Topology to regular class 2013-03-22 15:53:23 -05:00
Network.hh ruby: convert Topology to regular class 2013-03-22 15:53:23 -05:00
Network.py ruby: convert Topology to regular class 2013-03-22 15:53:23 -05:00
SConscript BuildEnv: Eliminate RUBY as build environment variable 2011-08-08 10:50:13 -05:00
Topology.cc ruby: convert Topology to regular class 2013-03-22 15:53:23 -05:00
Topology.hh ruby: convert Topology to regular class 2013-03-22 15:53:23 -05:00