Home
last modified time | relevance | path

Searched refs:avgValue (Results 1 – 1 of 1) sorted by relevance

/openbmc/phosphor-fan-presence/control/
H A Dactions.hpp157 auto avgValue = sumValue / (groupSize - count); in set_floor_from_average_sensor_value() local
159 [&avgValue](const auto& entry) { in set_floor_from_average_sensor_value()
160 return avgValue < entry.first; in set_floor_from_average_sensor_value()
215 auto avgValue = sumValue / (groupSize - count); in set_ceiling_from_average_sensor_value() local
216 auto prevValue = zone.swapCeilingKeyValue(avgValue); in set_ceiling_from_average_sensor_value()
217 if (avgValue != prevValue) in set_ceiling_from_average_sensor_value()
219 if (avgValue < prevValue) in set_ceiling_from_average_sensor_value()
225 avgValue >= it->first) in set_ceiling_from_average_sensor_value()
233 avgValue <= it->first) in set_ceiling_from_average_sensor_value()
257 avgValue <= it->first) in set_ceiling_from_average_sensor_value()
[all …]