54a55
> #include "debug/DVFS.hh"
60a62
> #include "sim/voltage_domain.hh"
62d63
<
82a84,95
> * Get the number of domains assigned to this DVFS handler.
> * @return Number of domains
> */
> uint32_t numDomains() const { return domainIDList.size(); }
>
> /**
> * Get the n-th domain ID, from the domains managed by this handler.
> * @return Domain ID
> */
> DomainID domainID(uint32_t index) const;
>
> /**
130a144,156
> * Read the voltage of the specified domain at the specified
> * performance level.
> * @param domain_id Domain ID to query
> * @param perf_level Performance level of interest
> * @return Voltage for the requested performance level of the respective
> * domain
> */
> double voltageAtPerfLevel(DomainID domain_id, PerfLevel perf_level) const
> {
> return findDomain(domain_id)->voltageDomain()->voltage(perf_level);
> }
>
> /**
156a183,187
> * List of IDs avaiable in the domain list
> */
> std::vector<DomainID> domainIDList;
>
> /**