Lines Matching refs:utils
219 double getThreshold(pldm::utils::Level level, in getThreshold()
220 pldm::utils::Direction direction) in getThreshold()
222 if (direction != pldm::utils::Direction::HIGH && in getThreshold()
223 direction != pldm::utils::Direction::LOW) in getThreshold()
229 case pldm::utils::Level::WARNING: in getThreshold()
230 return direction == pldm::utils::Direction::HIGH in getThreshold()
233 case pldm::utils::Level::CRITICAL: in getThreshold()
234 return direction == pldm::utils::Direction::HIGH in getThreshold()
237 case pldm::utils::Level::HARDSHUTDOWN: in getThreshold()
238 return direction == pldm::utils::Direction::HIGH in getThreshold()
254 bool isThresholdValid(pldm::utils::Level level, in isThresholdValid()
255 pldm::utils::Direction direction) in isThresholdValid()
267 bool getThresholdAlarm(pldm::utils::Level level, in getThresholdAlarm()
268 pldm::utils::Direction direction) in getThresholdAlarm()
276 case pldm::utils::Level::WARNING: in getThresholdAlarm()
277 return direction == pldm::utils::Direction::HIGH in getThresholdAlarm()
280 case pldm::utils::Level::CRITICAL: in getThresholdAlarm()
281 return direction == pldm::utils::Direction::HIGH in getThresholdAlarm()
284 case pldm::utils::Level::HARDSHUTDOWN: in getThresholdAlarm()
285 return direction == pldm::utils::Direction::HIGH in getThresholdAlarm()
309 void setWarningThresholdAlarm(pldm::utils::Direction direction,
321 void setCriticalThresholdAlarm(pldm::utils::Direction direction,
333 void setHardShutdownThresholdAlarm(pldm::utils::Direction direction,
346 int setThresholdAlarm(pldm::utils::Level level,
347 pldm::utils::Direction direction, double value,
360 int triggerThresholdEvent(pldm::utils::Level eventType,
361 pldm::utils::Direction direction, double rawValue,
408 void createThresholdLog(pldm::utils::Level level,
409 pldm::utils::Direction direction, double value);
465 std::map<std::tuple<pldm::utils::Level, pldm::utils::Direction>,