Home
last modified time | relevance | path

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

/openbmc/pldm/platform-mc/test/
H A Dnumeric_sensor_test.cpp106 TEST(NumericSensor, checkThreshold) in TEST() argument
202 highAlarm = sensor.checkThreshold(highAlarm, true, reading, highThreshold, in TEST()
205 lowAlarm = sensor.checkThreshold(lowAlarm, false, reading, lowThreshold, in TEST()
213 lowAlarm = sensor.checkThreshold(lowAlarm, false, reading, lowThreshold, in TEST()
221 lowAlarm = sensor.checkThreshold(lowAlarm, false, reading, lowThreshold, in TEST()
229 lowAlarm = sensor.checkThreshold(lowAlarm, false, reading, lowThreshold, in TEST()
237 lowAlarm = sensor.checkThreshold(lowAlarm, false, reading, lowThreshold, in TEST()
245 lowAlarm = sensor.checkThreshold(lowAlarm, false, reading, lowThreshold, in TEST()
253 lowAlarm = sensor.checkThreshold(lowAlarm, false, reading, lowThreshold, in TEST()
261 lowAlarm = sensor.checkThreshold(lowAlarm, false, reading, lowThreshold, in TEST()
[all …]
/openbmc/phosphor-health-monitor/
H A Dhealth_metric.cpp152 void HealthMetric::checkThreshold(Type type, Bound bound, MValue value) in checkThreshold() function in phosphor::health::metric::HealthMetric
204 checkThreshold(type, Bound::Lower, value); in checkThresholds()
205 checkThreshold(type, Bound::Upper, value); in checkThresholds()
H A Dhealth_metric.hpp69 void checkThreshold(Type type, Bound bound, MValue value);
/openbmc/pldm/platform-mc/
H A Dnumeric_sensor.cpp630 bool NumericSensor::checkThreshold(bool alarm, bool direction, double value, in checkThreshold() function in pldm::platform_mc::NumericSensor
676 checkThreshold(alarm, true, value, threshold, hysteresis); in updateThresholds()
696 checkThreshold(alarm, false, value, threshold, hysteresis); in updateThresholds()
717 checkThreshold(alarm, true, value, threshold, hysteresis); in updateThresholds()
738 checkThreshold(alarm, false, value, threshold, hysteresis); in updateThresholds()
H A Dnumeric_sensor.hpp90 bool checkThreshold(bool alarm, bool direction, double value,