/openbmc/pldm/platform-mc/test/ |
H A D | numeric_sensor_test.cpp | 106 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 D | health_metric.cpp | 152 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 D | health_metric.hpp | 69 void checkThreshold(Type type, Bound bound, MValue value);
|
/openbmc/pldm/platform-mc/ |
H A D | numeric_sensor.cpp | 786 bool NumericSensor::checkThreshold(bool alarm, bool direction, double value, in checkThreshold() function in pldm::platform_mc::NumericSensor 840 checkThreshold(alarm, true, value, threshold, hysteresis); in updateThresholds() 860 checkThreshold(alarm, false, value, threshold, hysteresis); in updateThresholds() 881 checkThreshold(alarm, true, value, threshold, hysteresis); in updateThresholds() 902 checkThreshold(alarm, false, value, threshold, hysteresis); in updateThresholds()
|
H A D | numeric_sensor.hpp | 101 bool checkThreshold(bool alarm, bool direction, double value,
|