/openbmc/telemetry/src/utils/ |
H A D | conversion_trigger.cpp | 21 const std::vector<numeric::ThresholdParam>& arg) const in operator ()() 26 return numeric::LabeledThresholdParam( in operator ()() 27 numeric::toType(type), dwellTime, numeric::toDirection(direction), in operator ()() 44 const std::vector<numeric::LabeledThresholdParam>& arg) const in operator ()() 47 arg, [](const numeric::LabeledThresholdParam& labeledThresholdParam) { in operator ()() 48 return numeric::ThresholdParam( in operator ()() 49 numeric::typeToString( in operator ()() 52 numeric::directionToString( in operator ()() 87 return std::vector<numeric::ThresholdParam>(); in fromLabeledThresholdParam() 113 if (isFirstElementOfType<numeric::LabeledThresholdParam>(params)) in fromLabeledThresholdParam() [all …]
|
/openbmc/telemetry/tests/src/ |
H A D | test_numeric_threshold.cpp | 29 void makeThreshold(Milliseconds dwellTime, numeric::Direction direction, in makeThreshold() 31 numeric::Type type = numeric::Type::lowerWarning) in makeThreshold() 52 makeThreshold(0ms, numeric::Direction::increasing, 90.0, in SetUp() 53 numeric::Type::upperCritical); in SetUp() 77 LabeledThresholdParam expected = numeric::LabeledThresholdParam( in TEST_F() 78 numeric::Type::upperCritical, 0, numeric::Direction::increasing, 90.0); in TEST_F() 108 NumericParams& Direction(numeric::Direction val) in Direction() 171 numeric::Direction direction; 260 .Direction(numeric::Direction::increasing) 266 .Direction(numeric::Direction::increasing) [all …]
|
H A D | test_trigger_actions.cpp | 15 namespace numeric namespace 17 using LogParam = std::tuple<::numeric::Type, double, TriggerValue>; 22 std::make_tuple(::numeric::Type::upperCritical, 91.1, in getCorrectParams() 24 std::make_tuple(::numeric::Type::upperCritical, 90, TriggerValue(91.1)), in getCorrectParams() 25 std::make_tuple(::numeric::Type::lowerCritical, 91.2, in getCorrectParams() 27 std::make_tuple(::numeric::Type::lowerCritical, 90, TriggerValue(91.2)), in getCorrectParams() 28 std::make_tuple(::numeric::Type::upperWarning, 88.5, in getCorrectParams() 30 std::make_tuple(::numeric::Type::upperWarning, 90, TriggerValue(88.5)), in getCorrectParams() 31 std::make_tuple(::numeric::Type::lowerWarning, 88.6, in getCorrectParams() 33 std::make_tuple(::numeric::Type::lowerWarning, 90, TriggerValue(88.6))); in getCorrectParams() [all …]
|
/openbmc/telemetry/src/ |
H A D | numeric_threshold.cpp | 9 Milliseconds dwellTimeIn, numeric::Direction directionIn, in NumericThreshold() 10 double thresholdValueIn, numeric::Type typeIn, in NumericThreshold() 66 crossedDecreasing = prevDirection == numeric::Direction::decreasing && in sensorUpdated() 68 crossedIncreasing = prevDirection == numeric::Direction::increasing && in sensorUpdated() 77 if ((direction == numeric::Direction::decreasing && crossedDecreasing) || in sensorUpdated() 78 (direction == numeric::Direction::increasing && crossedIncreasing) || in sensorUpdated() 79 (direction == numeric::Direction::either && in sensorUpdated() 85 prevDirection = value > prevValue ? numeric::Direction::increasing in sensorUpdated() 86 : value < prevValue ? numeric::Direction::decreasing in sensorUpdated() 87 : numeric::Direction::either; in sensorUpdated() [all …]
|
H A D | trigger_actions.cpp | 31 namespace numeric namespace 53 std::string thresholdName = ::numeric::typeToString(type); in commit() 57 "Numeric threshold '" + std::string(utils::toShortEnum(thresholdName)) + in commit() 74 case ::numeric::Type::upperCritical: in getRedfishMessageId() 76 case ::numeric::Type::lowerCritical: in getRedfishMessageId() 78 case ::numeric::Type::upperWarning: in getRedfishMessageId() 80 case ::numeric::Type::lowerWarning: in getRedfishMessageId() 89 case ::numeric::Type::upperCritical: in getRedfishMessageId() 91 case ::numeric::Type::lowerCritical: in getRedfishMessageId() 93 case ::numeric::Type::upperWarning: in getRedfishMessageId() [all …]
|
H A D | numeric_threshold.hpp | 29 Milliseconds dwellTime, numeric::Direction direction, 30 double thresholdValue, numeric::Type type, 45 const numeric::Direction direction; 47 const numeric::Type type; 54 numeric::Direction prevDirection = numeric::Direction::either;
|
H A D | trigger_actions.hpp | 31 namespace numeric namespace 36 LogToJournal(::numeric::Type type, double val) : type(type), threshold(val) in LogToJournal() 44 const ::numeric::Type type; 51 LogToRedfishEventLog(::numeric::Type type, double val) : in LogToRedfishEventLog() 60 const ::numeric::Type type; 68 const std::vector<TriggerAction>& ActionsEnum, ::numeric::Type type, 71 } // namespace numeric
|
/openbmc/telemetry/tests/src/params/ |
H A D | trigger_params.hpp | 102 const std::vector<numeric::LabeledThresholdParam> numericThresholdParams() in numericThresholdParams() 126 std::string nameProperty = "My Numeric Trigger"; 136 std::vector<numeric::LabeledThresholdParam>{ 137 numeric::LabeledThresholdParam{numeric::Type::lowerCritical, 139 numeric::Direction::decreasing, 0.5}, 140 numeric::LabeledThresholdParam{ 141 numeric::Type::upperCritical, Milliseconds(10).count(), 142 numeric::Direction::increasing, 90.2}};
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Telemetry/ |
H A D | Trigger.interface.yaml | 11 Otherwise numeric thresholds is used. 39 A collection of numeric thresholds that has following fields - type, 72 Defines a context of a message that is logged when numeric threshold 82 numeric threshold condition. 86 Crossing threshold value fulfill numeric threshold condition. 90 greater then threshold value then numeric threshold condition is 95 then threshold value then numeric threshold condition is met.
|
/openbmc/telemetry/src/types/ |
H A D | trigger_types.hpp | 66 namespace numeric namespace 136 } // namespace numeric 139 std::variant<std::vector<numeric::ThresholdParam>, 143 std::variant<std::vector<numeric::LabeledThresholdParam>, 147 std::variant<std::monostate, numeric::LabeledThresholdParam, 209 struct EnumTraits<numeric::Type> 211 static constexpr auto propertyName = ConstexprString{"numeric::Type"}; 215 struct EnumTraits<numeric::Direction> 217 static constexpr auto propertyName = ConstexprString{"numeric::Direction"};
|
/openbmc/docs/designs/mctp/ |
H A D | mctp-standards.svg | 71 …mal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-featu… 79 …mal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-featu… 84 …mal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-featu… 86 …mal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-featu… 104 …mal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-featu… 106 …mal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-featu… 124 …mal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-featu… 126 …mal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-featu… 131 …mal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-featu… 147 …mal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-featu… [all …]
|
/openbmc/bmcweb/redfish-core/include/registries/ |
H A D | telemetry_message_registry.hpp | 59 …"Indicates that a numeric metric reading is no longer below the lower critical trigger threshold, … 74 … "Indicates that a numeric metric reading is above the upper critical trigger threshold.", 89 "Indicates that a numeric metric reading is above the upper warning trigger threshold.", 104 … "Indicates that a numeric metric reading is below the lower critical trigger threshold.", 119 "Indicates that a numeric metric reading is below the lower warning trigger threshold.", 134 …"Indicates that a numeric metric reading is no longer above the upper critical trigger threshold, … 149 "Indicates that a numeric metric reading is now within normal operating range.",
|
/openbmc/pldm/platform-mc/ |
H A D | terminus.hpp | 171 /** @brief Get Numeric Sensor Object by sensorID 190 * @param[in] pdr - the numeric sensor PDR info 195 /** @brief Parse the numeric sensor PDRs 198 * @return pointer to numeric sensor info struct 219 /** @brief Construct the NumericSensor sensor class for the compact numeric 222 * @param[in] pdr - the compact numeric sensor PDR info 227 /** @brief Parse the compact numeric sensor PDRs 230 * @return pointer to compact numeric sensor info struct 235 /** @brief Parse the sensor Auxiliary name from compact numeric sensor PDRs 310 /** @brief Numeric Sensor PDR list */ [all …]
|
H A D | dbus_to_terminus_effecters.hpp | 53 uint8_t dataSize; //!< Numeric effecter PDR data size 54 double resolution; //!< Numeric effecter PDR resolution 55 double offset; //!< Numeric effecter PDR offset 56 int8_t unitModifier; //!< Numeric effecter PDR unitModifier 67 uint8_t effecterPdrType; //!< Effecter PDR type state/numeric 151 * @param[in] effecterId - terminus numeric effecter id 183 /* @brief Set a terminus numeric effecter 220 /* @brief Adjust the numeric effecter value base on the effecter
|
/openbmc/openbmc/poky/scripts/ |
H A D | runqemu-extract-sdk | 47 TAR_OPTS="--numeric-owner -xJf" 50 TAR_OPTS="--numeric-owner -xjf" 53 TAR_OPTS="--numeric-owner -xzf" 56 TAR_OPTS="--numeric-owner -xf"
|
/openbmc/openbmc/poky/scripts/esdk-tools/ |
H A D | runqemu-extract-sdk | 47 TAR_OPTS="--numeric-owner -xJf" 50 TAR_OPTS="--numeric-owner -xjf" 53 TAR_OPTS="--numeric-owner -xzf" 56 TAR_OPTS="--numeric-owner -xf"
|
/openbmc/bmcweb/redfish-core/include/generated/enums/ |
H A D | triggers.hpp | 12 Numeric, enumerator 52 {MetricTypeEnum::Numeric, "Numeric"},
|
H A D | metric_definition.hpp | 12 Numeric, enumerator 55 {MetricType::Numeric, "Numeric"},
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/PLDM/ |
H A D | PDR.interface.yaml | 38 A numeric value that represents an entity that can be associated 48 A numeric value that identifies the PLDM State Set that is used 89 A numeric value that represents an entity that can be associated 97 A numeric value that identifies the PLDM State Set that is used
|
/openbmc/openbmc/poky/documentation/overview-manual/svg/ |
H A D | analysis-for-package-splitting.svg | 1046 …mal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 1056 …mal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 1066 …mal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 1076 …mal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 1106 …old';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 1114 …old';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 1118 …mal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 1184 …mal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 1192 …mal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 1197 …mal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… [all …]
|
H A D | configuration-compile-autoreconf.svg | 887 …old';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 895 …old';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 965 …mal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 973 …mal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 978 …mal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 994 …mal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 1002 …mal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 1007 …mal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 1114 …old';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 1122 …old';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… [all …]
|
H A D | patching.svg | 723 …old';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 731 …old';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 817 …rmal;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 825 …82px;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 830 …82px;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 846 …rmal;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 854 …82px;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 859 …82px;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 966 …rmal;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 974 …82px;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… [all …]
|
H A D | source-fetching.svg | 681 …old';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 689 …old';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 765 …mal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 773 …mal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 778 …mal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 794 …mal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 802 …mal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 807 …mal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 914 …old';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… 922 …old';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-varia… [all …]
|
/openbmc/phosphor-fan-presence/control/json/actions/ |
H A D | mapped_floor.hpp | 70 * - Find the max D-Bus property value (if numeric) of the member properties 79 * - Find the max D-Bus property value (if numeric) of the member properties 82 * - If numeric, check if the group's value is <= the 'value' one 116 * - If a group has multiple members, they must be numeric or else 205 * If not numeric, and more than one member, will throw an exception. 206 * Converts numeric values to doubles so they can be compared later.
|
/openbmc/phosphor-dbus-interfaces/yaml/org/open_power/OCC/ |
H A D | PassThrough.interface.yaml | 10 # change to array[byte]. As of now, the REST server maps any numeric 21 # change to array[byte]. As of now, the REST server maps any numeric
|