Esempio n. 1
0
PowerStatus DomainPowerStatus_001::getPowerStatus(UIntN participantIndex, UIntN domainIndex)
{
    Power power = m_participantServicesInterface->primitiveExecuteGetAsPower(
        esif_primitive_type::GET_RAPL_POWER, domainIndex);

    return PowerStatus(power);
}
Esempio n. 2
0
PowerStatus DomainPowerStatus_001::getPowerStatus(UIntN participantIndex, UIntN domainIndex)
{
    getPower(domainIndex);
    esif_ccb_sleep_msec(250);
    return PowerStatus(getPower(domainIndex));
}