summaryrefslogtreecommitdiff
path: root/src/base/stl_helpers.hh
diff options
context:
space:
mode:
authorStephan Diestelhorst <stephan.diestelhorst@arm.com>2014-08-12 19:00:44 +0100
committerStephan Diestelhorst <stephan.diestelhorst@arm.com>2014-08-12 19:00:44 +0100
commit16351ba8d6b98e4dc0012cfc4083fe93ec6d76ce (patch)
tree59c73b35dd747121f962e03f7d43a45a824ced9a /src/base/stl_helpers.hh
parent65aaf62714f783073b994f89fddf8558332607e8 (diff)
downloadgem5-16351ba8d6b98e4dc0012cfc4083fe93ec6d76ce.tar.xz
energy: Tighter checking of levels for DFS systems
There are cases where users might by accident / intention specify less voltage operating points thatn frequency points. We consider one of these cases special: giving only a single voltage to a voltage domain effectively renders it as a static domain. This patch adds additional logic in the auxiliary parts of the functionality to handle these cases properly (simple driver asking for N>1 operating levels, we should return the same voltage for all of them) and adds error checking code in the voltage domain.
Diffstat (limited to 'src/base/stl_helpers.hh')
0 files changed, 0 insertions, 0 deletions