diff options
author | Jose Marinho <jose.marinho@arm.com> | 2017-10-17 16:39:54 +0100 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2017-11-20 17:35:52 +0000 |
commit | 2ec997fb73eab01229909f0c91f7ff5456f7250a (patch) | |
tree | 8e5161f27e5b945bebc730874dae34510fe98826 /src/arch/riscv/idle_event.cc | |
parent | 7bd68dbc368e2d877f6159f5d0039198983e459a (diff) | |
download | gem5-2ec997fb73eab01229909f0c91f7ff5456f7250a.tar.xz |
arch-arm: Ensure counters keep events on checkpoint resume
Events were not being attached to counters after a checkpoint resume.
By not storing the enable private variable from the stored state the
recreation of the event to counter association is automatically carried.
The enable state is stored in the reg_pmcnten.
Change-Id: I46344df0882a9050c900efb2e8996d64dbfbf297
Reviewed-by: Sascha Bischoff <sascha.bischoff@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/5761
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/arch/riscv/idle_event.cc')
0 files changed, 0 insertions, 0 deletions