gem5/src/mem/ruby/network
Nilay Vaish cd9e445813 ruby: message buffer, timer table: significant changes
This patch changes MessageBuffer and TimerTable, two structures used for
buffering messages by components in ruby.  These structures would no longer
maintain pointers to clock objects.  Functions in these structures have been
changed to take as input current time in Tick.  Similarly, these structures
will not operate on Cycle valued latencies for different operations.  The
corresponding functions would need to be provided with these latencies by
components invoking the relevant functions.  These latencies should also be
in Ticks.

I felt the need for these changes while trying to speed up ruby.  The ultimate
aim is to eliminate Consumer class and replace it with an EventManager object in
the MessageBuffer and TimerTable classes.  This object would be used for
scheduling events.  The event itself would contain information on the object and
function to be invoked.

In hindsight, it seems I should have done this while I was moving away from use
of a single global clock in the memory system.  That change led to introduction
of clock objects that replaced the global clock object.  It never crossed my
mind that having clock object pointers is not a good design.  And now I really
don't like the fact that we have separate consumer, receiver and sender
pointers in message buffers.
2015-09-16 11:59:56 -05:00
..
fault_model sim: Include object header files in SWIG interfaces 2012-11-02 11:32:01 -05:00
garnet ruby: message buffer, timer table: significant changes 2015-09-16 11:59:56 -05:00
simple ruby: message buffer, timer table: significant changes 2015-09-16 11:59:56 -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: network: move message buffers to base network class. 2014-02-21 08:02:05 -06:00
BasicRouter.py Ruby: use ClockedObject in Consumer class 2013-01-14 10:04:21 -06:00
MessageBuffer.cc ruby: message buffer, timer table: significant changes 2015-09-16 11:59:56 -05:00
MessageBuffer.hh ruby: message buffer, timer table: significant changes 2015-09-16 11:59:56 -05:00
MessageBuffer.py ruby: message buffer, timer table: significant changes 2015-09-16 11:59:56 -05:00
Network.cc ruby: rename System.{hh,cc} to RubySystem.{hh,cc} 2015-09-16 12:03:03 -04:00
Network.hh ruby: network: drop member m_in_use 2015-08-30 12:24:18 -05:00
Network.py ruby: specify number of vnets for each protocol 2015-08-30 12:24:18 -05:00
SConscript ruby: Expose MessageBuffers as SimObjects 2015-08-14 00:19:44 -05:00
Topology.cc ruby: topology: refactor code. 2015-09-14 10:14:50 -05:00
Topology.hh ruby: topology: refactor code. 2015-09-14 10:14:50 -05:00