gem5/src/mem/ruby/network
Andreas Hansson 2698e73966 base: Use the global Mersenne twister throughout
This patch tidies up random number generation to ensure that it is
done consistently throughout the code base. In essence this involves a
clean-up of Ruby, and some code simplifications in the traffic
generator.

As part of this patch a bunch of skewed distributions (off-by-one etc)
have been fixed.

Note that a single global random number generator is used, and that
the object instantiation order will impact the behaviour (the sequence
of numbers will be unaffected, but if module A calles random before
module B then they would obviously see a different outcome). The
dependency on the instantiation order is true in any case due to the
execution-model of gem5, so we leave it as is. Also note that the
global ranom generator is not thread safe at this point.

Regressions using the memtest, TrafficGen or any Ruby tester are
affected and will be updated accordingly.
2014-09-03 07:42:54 -04:00
..
fault_model sim: Include object header files in SWIG interfaces 2012-11-02 11:32:01 -05:00
garnet ruby: message buffers: significant changes 2014-09-01 16:55:47 -05:00
orion ruby: remove few not required #includes 2014-02-23 19:16:15 -06:00
simple base: Use the global Mersenne twister throughout 2014-09-03 07:42:54 -04: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 base: Use the global Mersenne twister throughout 2014-09-03 07:42:54 -04:00
MessageBuffer.hh ruby: move files from ruby/system to ruby/structures 2014-09-01 16:55:40 -05:00
MessageBufferNode.cc ruby: move files from ruby/system to ruby/structures 2014-09-01 16:55:40 -05:00
MessageBufferNode.hh ruby: move files from ruby/system to ruby/structures 2014-09-01 16:55:40 -05:00
Network.cc ruby: message buffers: significant changes 2014-09-01 16:55:47 -05:00
Network.hh ruby: message buffers: significant changes 2014-09-01 16:55:47 -05:00
Network.py ruby: message buffers: significant changes 2014-09-01 16:55:47 -05:00
SConscript ruby: move files from ruby/system to ruby/structures 2014-09-01 16:55:40 -05:00
Topology.cc ruby: remove few not required #includes 2014-02-23 19:16:15 -06:00
Topology.hh ruby: add support for clusters 2014-01-04 00:03:31 -06:00