Home
last modified time | relevance | path

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

/openbmc/phosphor-power/phosphor-regulators/src/
H A Ddbus_sensor.cpp287 bool shouldUpdate{true}; in shouldUpdateValue() local
297 shouldUpdate = true; in shouldUpdateValue()
305 shouldUpdate = (std::abs(value - currentValue) >= hysteresis); in shouldUpdateValue()
308 shouldUpdate = (value > currentValue); in shouldUpdateValue()
311 shouldUpdate = (value < currentValue); in shouldUpdateValue()
316 return shouldUpdate; in shouldUpdateValue()