mem: Fix/Improve stats in src/mem
authorHoa Nguyen <hoanguyen@ucdavis.edu>
Thu, 28 Jan 2021 08:50:29 +0000 (00:50 -0800)
committerHoa Nguyen <hoanguyen@ucdavis.edu>
Wed, 10 Feb 2021 09:03:09 +0000 (09:03 +0000)
commit14732c4f970cc631e5d57bd945ce7c47f4f0185b
tree54a6801dcd5e2532d332ee12626084608b60d5cc
parente331aa9718f50d6d376d6fb8684d17d02f360d54
mem: Fix/Improve stats in src/mem

* Improved/Fixed the stat description of several stats.
* Fixed the value assigned to `warmupCycle` stat of cache tags,
it was set to curTick().
* Use ADD_STAT in CacheCmdStats.

Change-Id: Iabff7d42318fcc73df79ee7f3c5430f4c45555e5
Signed-off-by: Hoa Nguyen <hoanguyen@ucdavis.edu>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/39975
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
Tested-by: kokoro <noreply+kokoro@google.com>
src/mem/cache/base.cc
src/mem/cache/base.hh
src/mem/cache/cache.cc
src/mem/cache/tags/base.cc
src/mem/cache/tags/base.hh
src/mem/xbar.cc