Garnet: Stats at vnet granularity + code cleanup
authorTushar Krishna <tushar@csail.mit.edu>
Mon, 19 Mar 2012 21:34:17 +0000 (17:34 -0400)
committerTushar Krishna <tushar@csail.mit.edu>
Mon, 19 Mar 2012 21:34:17 +0000 (17:34 -0400)
commitc9e4bca8d8deea063a09bf852b0d37dc129bc227
tree4791501d08b85f82055676d36a24c063773a36bd
parent72538294fb1eb2e4dcd5d818c78bcdf78b0de491
Garnet: Stats at vnet granularity + code cleanup

This patch
(1) Moves redundant code from fixed and flexible networks to BaseGarnetNetwork.
(2) Prints network stats at vnet granularity.
src/mem/ruby/network/garnet/BaseGarnetNetwork.cc
src/mem/ruby/network/garnet/BaseGarnetNetwork.hh
src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.cc
src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.hh
src/mem/ruby/network/garnet/fixed-pipeline/NetworkInterface_d.cc
src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.cc
src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.hh
src/mem/ruby/network/garnet/flexible-pipeline/NetworkInterface.cc