mem-garnet: Use static allocation in CrossbarSwitch
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Sun, 26 Jan 2020 11:38:54 +0000 (12:38 +0100)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Mon, 16 Mar 2020 22:23:16 +0000 (22:23 +0000)
commit7539c69c4e8e130a4e3bd0125d957aee106b0bd5
treeddafc2676238c990275f1767a279fdccb790fb88
parentf5f523ed26932d00be8cc1e2668b53fd6997105b
mem-garnet: Use static allocation in CrossbarSwitch

There is no need to dynamically allocate these variables.

Change-Id: I6efeaffe75f2b4ba706c26d2a12c42c07dc7c7ee
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/24983
Reviewed-by: Srikant Bharadwaj <srikant.bharadwaj@amd.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/mem/ruby/network/garnet2.0/CrossbarSwitch.cc
src/mem/ruby/network/garnet2.0/CrossbarSwitch.hh