Lines Matching refs:formula
274 FormulaOption formula = FormulaOption::COUNT_THRESHOLD; in ParseVirtualSensorInfo() local
292 formula = FormulaOption::COUNT_THRESHOLD; in ParseVirtualSensorInfo()
294 formula = FormulaOption::WEIGHTED_AVG; in ParseVirtualSensorInfo()
296 formula = FormulaOption::MAXIMUM; in ParseVirtualSensorInfo()
298 formula = FormulaOption::MINIMUM; in ParseVirtualSensorInfo()
300 formula = FormulaOption::USE_ML_MODEL; in ParseVirtualSensorInfo()
302 formula = FormulaOption::USE_LINEAR_MODEL; in ParseVirtualSensorInfo()
342 } else if ((formula != FormulaOption::USE_ML_MODEL)) { in ParseVirtualSensorInfo()
347 (formula != FormulaOption::USE_ML_MODEL) && (formula != FormulaOption::USE_LINEAR_MODEL)) { in ParseVirtualSensorInfo()
415 if (formula == FormulaOption::USE_ML_MODEL) { in ParseVirtualSensorInfo()
484 } else if (formula == FormulaOption::USE_LINEAR_MODEL) { in ParseVirtualSensorInfo()
539 coefficients_type, offset, trigger_sensors, formula, in ParseVirtualSensorInfo()
1485 FormulaOption formula = FormulaOption::COUNT_THRESHOLD; in ParsePowerRailInfo() local
1544 formula = FormulaOption::COUNT_THRESHOLD; in ParsePowerRailInfo()
1546 formula = FormulaOption::WEIGHTED_AVG; in ParsePowerRailInfo()
1548 formula = FormulaOption::MAXIMUM; in ParsePowerRailInfo()
1550 formula = FormulaOption::MINIMUM; in ParsePowerRailInfo()
1561 new VirtualPowerRailInfo{linked_power_rails, coefficient, offset, formula}); in ParsePowerRailInfo()