mem-garnet: Use smart pointers in Router's members
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Tue, 7 Jan 2020 22:59:43 +0000 (23:59 +0100)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Mon, 16 Mar 2020 22:23:16 +0000 (22:23 +0000)
commitf5f523ed26932d00be8cc1e2668b53fd6997105b
tree2fc0b19526e8c654709a67ec76953b6d276782aa
parent21e12a0d0eefbf57ff21dd298ef3524b02546932
mem-garnet: Use smart pointers in Router's members

Use smart pointers for the pointers managed by Router, and do
static allocation when possible.

Change-Id: I5fad8b2d17ac7950d478d37000ac80a4d2f68b15
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/24248
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Reviewed-by: Srikant Bharadwaj <srikant.bharadwaj@amd.com>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
Tested-by: kokoro <noreply+kokoro@google.com>
src/mem/ruby/network/garnet2.0/CrossbarSwitch.cc
src/mem/ruby/network/garnet2.0/CrossbarSwitch.hh
src/mem/ruby/network/garnet2.0/Router.cc
src/mem/ruby/network/garnet2.0/Router.hh
src/mem/ruby/network/garnet2.0/SwitchAllocator.cc
src/mem/ruby/network/garnet2.0/SwitchAllocator.hh