Review Board 2.0.15


pwr: Add power states to ClockedObject

Review Request #3363 - Created March 4, 2016 and submitted - Latest diff uploaded

Information
Curtis Dunham
gem5
default
Reviewers
Default
Changeset 11366:54f3dcc05764
---------------------------
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.