summaryrefslogtreecommitdiff
path: root/src/sim/sub_system.hh
diff options
context:
space:
mode:
authorDavid Guillen Fandos <david.guillen@arm.com>2016-06-06 17:16:43 +0100
committerDavid Guillen Fandos <david.guillen@arm.com>2016-06-06 17:16:43 +0100
commit5350879f499470a2683dfec6cff021dd7ac20fa6 (patch)
tree5469a3baa2d99877c5525e10a04953223f0e5cdf /src/sim/sub_system.hh
parent70798b1ba0a5b9a7242b48bf9598957476f8168b (diff)
downloadgem5-5350879f499470a2683dfec6cff021dd7ac20fa6.tar.xz
pwr: Add power states to ClockedObject
Add 4 power states to the ClockedObject, provides necessary access functions to check and update the power state. Default power state is UNDEFINED, it is responsibility of the respective simulation model to provide the startup state and any other logic for state change. Add number of transition stat. Add distribution of time spent in clock gated state. Add power state residency stat. Add dump call back function to allow stats update of distribution and residency stats. Change-Id: Id086090a2ed720c9fcb37812a3c98f0f724907c6
Diffstat (limited to 'src/sim/sub_system.hh')
0 files changed, 0 insertions, 0 deletions