ruby: make a RequestDesc class instead of std::pair
authorTony Gutierrez <anthony.gutierrez@amd.com>
Thu, 27 Oct 2016 02:46:58 +0000 (22:46 -0400)
committerTony Gutierrez <anthony.gutierrez@amd.com>
Thu, 27 Oct 2016 02:46:58 +0000 (22:46 -0400)
commitc7d4afd878ac37ff7d1b72628e98d6337f0a4441
treeec2a03529f22caf7909820bda35c64cf19645eb0
parent90b087171b048aa226be96dc32d73624f957b793
ruby: make a RequestDesc class instead of std::pair

the RequestDesc was previously implemented as a std::pair, which made
the implementation overly complex and error prone. here we encapsulate the
packet, primary, and secondary types all in a single data structure with
all members properly intialized in a ctor
src/mem/ruby/system/GPUCoalescer.cc
src/mem/ruby/system/GPUCoalescer.hh