mem-garnet,mem-ruby: Properly reset garnet2.0 statistics.
authorPolydoros Petrakis <ppetrak@ics.forth.gr>
Tue, 19 May 2020 22:56:07 +0000 (01:56 +0300)
committerPolydoros Petrakis <ppetrak@ics.forth.gr>
Thu, 21 May 2020 20:56:25 +0000 (20:56 +0000)
commit8fdad96b7c80a0fca5c91d4976a31ca120ffc532
tree7da163a4a83a1bac4a9fae36eba23ef17723f65f
parentfc5e23c5c72c19a21878df6920c09026a9e10252
mem-garnet,mem-ruby: Properly reset garnet2.0 statistics.

Statistics for crossbar activity, and link related statistics were not getting reset when using m5_reset_stats.

Change-Id: Ib84c55200e4a86c6f9190de28498112bd43dde9d
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/29253
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Reviewed-by: Srikant Bharadwaj <srikant.bharadwaj@amd.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/mem/ruby/network/garnet2.0/GarnetNetwork.cc
src/mem/ruby/network/garnet2.0/GarnetNetwork.hh
src/mem/ruby/system/RubySystem.cc