cpu-simple: Fix BaseSimpleCPU to reset group stats
authorseanzw <seanyukigeek@gmail.com>
Mon, 10 Aug 2020 18:49:33 +0000 (11:49 -0700)
committerZHENGRONG WANG <seanzw@g.ucla.edu>
Wed, 12 Aug 2020 02:17:58 +0000 (02:17 +0000)
commitcaee304a13bd5ac66bdfe3cb85bc0c9a70652890
tree3ffc4221a5a03e693c40e1deefe0d08250161af7
parent77d1168e78c99ef347df9d6cfe9235a860d15290
cpu-simple: Fix BaseSimpleCPU to reset group stats

BaseSimpleCPU::resetStats() should call Stats::Group::resetStats()
to reset new style hierarchy stats.

Change-Id: I932280449b29577d214db56ac8347aca4143c949
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/32434
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/cpu/simple/base.cc