From abcc67010ed158b55b83e76e9092cae274a4975a Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Sat, 5 Sep 2015 09:34:25 -0500 Subject: 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 --- src/mem/ruby/common/NetDest.hh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/mem/ruby/common/NetDest.hh') 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: -- cgit v1.2.3