Example #1
0
Bool PowerControlArbitrator::arbitrate(UIntN policyIndex, PowerControlType::Type controlType, 
    const Percentage& dutyCycle)
{
    updatePolicyRequest(policyIndex, controlType, dutyCycle);
    Percentage lowestRequest = getLowestRequest(controlType, m_requestedDutyCycles);
    Bool changed = setArbitratedRequest(controlType, lowestRequest);
    return changed;
}
Example #2
0
Bool PowerControlArbitrator::arbitrate(UIntN policyIndex, PowerControlType::Type controlType, 
    const TimeSpan& timeWindow)
{
    updatePolicyRequest(policyIndex, controlType, timeWindow);
    TimeSpan lowestRequest = getLowestRequest(controlType, m_requestedTimeWindows);
    Bool changed = setArbitratedRequest(controlType, lowestRequest);
    return changed;
}
Example #3
0
Bool PowerControlArbitrator::arbitrate(UIntN policyIndex, PowerControlType::Type controlType, 
    const Power& powerLimit)
{
    updatePolicyRequest(policyIndex, controlType, powerLimit);
    Power lowestRequest = getLowestRequest(controlType, m_requestedPowerLimits);
    Bool changed = setArbitratedRequest(controlType, lowestRequest);
    return changed;
}
Example #4
0
void PowerControlArbitrator::commitPolicyRequest(
	UIntN policyIndex,
	PowerControlType::Type controlType,
	const Percentage& dutyCycle)
{
	updatePolicyRequest(policyIndex, controlType, dutyCycle, m_requestedDutyCycles);
	Percentage lowestRequest = getLowestRequest(controlType, m_requestedDutyCycles);
	setArbitratedRequest(controlType, lowestRequest);
}
Example #5
0
void PowerControlArbitrator::commitPolicyRequest(
	UIntN policyIndex,
	PowerControlType::Type controlType,
	const TimeSpan& timeWindow)
{
	updatePolicyRequest(policyIndex, controlType, timeWindow, m_requestedTimeWindows);
	TimeSpan lowestRequest = getLowestRequest(controlType, m_requestedTimeWindows);
	setArbitratedRequest(controlType, lowestRequest);
}
Example #6
0
void PowerControlArbitrator::commitPolicyRequest(
	UIntN policyIndex,
	PowerControlType::Type controlType,
	const Power& powerLimit)
{
	updatePolicyRequest(policyIndex, controlType, powerLimit, m_requestedPowerLimits);
	Power lowestRequest = getLowestRequest(controlType, m_requestedPowerLimits);
	setArbitratedRequest(controlType, lowestRequest);
}