stats: Move the swpipl function into the Alpha kernel stats.
authorGabe Black <gabeblack@google.com>
Sat, 26 Aug 2017 01:02:01 +0000 (18:02 -0700)
committerGabe Black <gabeblack@google.com>
Mon, 11 Sep 2017 04:59:01 +0000 (04:59 +0000)
commita50bcfb436da42dbd6005da681ed91bb768684f4
tree4a8e021bc59cd0d3dba43939e035bfac67d089bf
parentb9d8700a38ccecfbe97c152bc9fc3b7c3b09e9a2
stats: Move the swpipl function into the Alpha kernel stats.

This stat is only incremented by Alpha. Also move the _hwrei into the Alpha
stats object since it's the class that actually sets up and maintains that
value and it probably should have been there all along.

Change-Id: Ibd038a33230c01432c160490926d8e1e55f8ccb0
Reviewed-on: https://gem5-review.googlesource.com/4601
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
src/arch/alpha/kernel_stats.cc
src/arch/alpha/kernel_stats.hh
src/kern/kernel_stats.cc
src/kern/kernel_stats.hh