summaryrefslogtreecommitdiff
path: root/src/mem/ruby/common/NetDest.hh
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2015-09-05 09:34:25 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2015-09-05 09:34:25 -0500
commitabcc67010ed158b55b83e76e9092cae274a4975a (patch)
tree027baeff106896c1c73b66f4192236cdb1c6a855 /src/mem/ruby/common/NetDest.hh
parent7962a81148b5b38a32e12c4706ecb332c670e09b (diff)
downloadgem5-abcc67010ed158b55b83e76e9092cae274a4975a.tar.xz
ruby: set: reimplement using std::bitset
The current Set data structure is slow and therefore is being reimplemented using std::bitset. A maximum limit of 64 is being set on the number of controllers of each type. This means that for simulating a system with more controllers of a given type, one would need to change the value of the variable NUMBER_BITS_PER_SET
Diffstat (limited to 'src/mem/ruby/common/NetDest.hh')
-rw-r--r--src/mem/ruby/common/NetDest.hh6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mem/ruby/common/NetDest.hh b/src/mem/ruby/common/NetDest.hh
index e09be0c2c..69bfa8a3e 100644
--- a/src/mem/ruby/common/NetDest.hh
+++ b/src/mem/ruby/common/NetDest.hh
@@ -26,11 +26,6 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-// NetDest specifies the network destination of a Message
-// This is backward compatible with the Set class that was previously
-// used to specify network destinations.
-// NetDest supports both node networks and component networks
-
#ifndef __MEM_RUBY_COMMON_NETDEST_HH__
#define __MEM_RUBY_COMMON_NETDEST_HH__
@@ -40,6 +35,7 @@
#include "mem/ruby/common/Set.hh"
#include "mem/ruby/common/MachineID.hh"
+// NetDest specifies the network destination of a Message
class NetDest
{
public: