Lines Matching defs:threshold
23 // threshold levels and directions.
417 "Failed to create HardShutdown threshold interface for numeric sensor {PATH} error - {ERROR}",
622 "Failed to create Warning threshold interface for compact numeric sensor {PATH} error - {ERROR}",
641 "Failed to create Critical threshold interface for compact numeric sensor {PATH} error - {ERROR}",
660 "Failed to create HardShutdown threshold interface for numeric sensor {PATH} error - {ERROR}",
772 double threshold, double hyst)
776 if (value >= threshold)
780 if (value < (threshold - hyst))
787 if (value <= threshold)
791 if (value > (threshold + hyst))
906 "Error:Trigger sensor warning event for non warning threshold sensors {NAME}",
973 /** @brief helper function template to create a threshold log
979 * @param[in] threshold - The threshold value.
988 SensorUnit sensorUnit, double threshold)
993 sensorUnit, "THRESHOLD_VALUE", threshold));
1001 /* Map from threshold level+direction to a an instantiation of
1025 double threshold = getThreshold(level, direction);
1030 helper(sensorObjPath, value, sensorUnit, threshold);
1035 "Unable to create threshold log entry for {OBJPATH}: {ERROR}",
1084 auto threshold = getThreshold(level, direction);
1085 if (!std::isfinite(threshold))
1092 value, threshold, hysteresis);