/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; 257 .Direction(numeric::Direction::increasing) 263 .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/utils/ |
H A D | conversion_trigger.cpp | 21 const std::vector<numeric::ThresholdParam>& arg) const in operator ()() 26 return numeric::LabeledThresholdParam(numeric::toType(type), dwellTime, in operator ()() 27 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(labeledThresholdParam.at_label<ts::Type>()), in operator ()() 51 numeric::directionToString( in operator ()() 85 return std::vector<numeric::ThresholdParam>(); in fromLabeledThresholdParam() 111 if (isFirstElementOfType<numeric::LabeledThresholdParam>(params)) in fromLabeledThresholdParam() [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 54 std::string thresholdName = ::numeric::typeToString(type); in commit() 58 "Numeric threshold '" + std::string(utils::toShortEnum(thresholdName)) + in commit() 75 case ::numeric::Type::upperCritical: in getRedfishMessageId() 77 case ::numeric::Type::lowerCritical: in getRedfishMessageId() 79 case ::numeric::Type::upperWarning: in getRedfishMessageId() 81 case ::numeric::Type::lowerWarning: in getRedfishMessageId() 90 case ::numeric::Type::upperCritical: in getRedfishMessageId() 92 case ::numeric::Type::lowerCritical: in getRedfishMessageId() 94 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> 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 First type in variant is a collection of numeric thresholds that has 43 threshold value. Discrete value does not need to be a number. Numeric 69 Defines a context of a message that is logged when numeric threshold 79 numeric threshold condition. 83 Crossing threshold value fulfill numeric threshold condition. 87 greater then threshold value then numeric threshold condition is 92 then threshold value then numeric threshold condition is met.
|
/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/linux/include/xen/interface/ |
H A D | elfnote.h | 17 * Numeric types are either 4 or 8 bytes depending on the content of 33 * The virtual address of the entry point (numeric). 39 /* The virtual address of the hypercall transfer page (numeric). 46 /* The virtual address where the kernel image should be mapped (numeric). 56 * pseudo-physical address (numeric). 126 * The lowest address the hypervisor hole can begin at (numeric). 136 * (non-present) L1 page table entries carrying valid MFNs (numeric). 142 * This is a numeric value. 166 * The features supported by this kernel (numeric).
|
/openbmc/telemetry/src/types/ |
H A D | trigger_types.hpp | 66 namespace numeric namespace 137 } // namespace numeric 140 std::variant<std::vector<numeric::ThresholdParam>, 144 std::variant<std::vector<numeric::LabeledThresholdParam>, 148 std::variant<std::monostate, numeric::LabeledThresholdParam, 210 struct EnumTraits<numeric::Type> 212 static constexpr auto propertyName = ConstexprString{"numeric::Type"}; 216 struct EnumTraits<numeric::Direction> 218 static constexpr auto propertyName = ConstexprString{"numeric::Direction"};
|
/openbmc/bmcweb/redfish-core/include/registries/ |
H A D | telemetry_message_registry.hpp | 54 …"Indicates that a numeric metric reading is no longer below the lower critical trigger threshold, … 69 … "Indicates that a numeric metric reading is above the upper critical trigger threshold.", 84 "Indicates that a numeric metric reading is above the upper warning trigger threshold.", 99 … "Indicates that a numeric metric reading is below the lower critical trigger threshold.", 114 "Indicates that a numeric metric reading is below the lower warning trigger threshold.", 129 …"Indicates that a numeric metric reading is no longer above the upper critical trigger threshold, … 144 "Indicates that a numeric metric reading is now within normal operating range.",
|
/openbmc/pldm/platform-mc/ |
H A D | terminus.hpp | 191 /** @brief Get Numeric Sensor Object by sensorID 210 * @param[in] pdr - the numeric sensor PDR info 215 /** @brief Parse the numeric sensor PDRs 218 * @return pointer to numeric sensor info struct 239 /** @brief Construct the NumericSensor sensor class for the compact numeric 242 * @param[in] pdr - the compact numeric sensor PDR info 247 /** @brief Parse the compact numeric sensor PDRs 250 * @return pointer to compact numeric sensor info struct 255 /** @brief Parse the sensor Auxiliary name from compact numeric sensor PDRs
|
/openbmc/pldm/host-bmc/ |
H A D | dbus_to_terminus_effecters.hpp | 52 uint8_t dataSize; //!< Numeric effecter PDR data size 53 double resolution; //!< Numeric effecter PDR resolution 54 double offset; //!< Numeric effecter PDR offset 55 int8_t unitModifier; //!< Numeric effecter PDR unitModifier 65 uint8_t effecterPdrType; //!< Effecter PDR type state/numeric 147 * @param[in] effecterId - terminus numeric effecter id 179 /* @brief Set a terminus numeric effecter 216 /* @brief Adjust the numeric effecter value base on the effecter
|
H A D | dbus_to_terminus_effecters.cpp | 114 * Only support these property type for Numeric Effecter D-Bus in parseEffecterJson() 341 "Dbus to PLDM Numeric Effecter setting requires valid effecter ID. Invalid effecter ID {EFFECTER_ID}", in processTerminusNumericEffecterChangeNotification() 348 "DBus Value to PLDM Numeric Effecter setting only supports D-Bus Numeric data type. Invalid type {TYPE}", in processTerminusNumericEffecterChangeNotification() 364 "DBus Value to PLDM Numeric Effecter setting only supports Numeric D-Bus data type. Invalid type {TYPE}", in processTerminusNumericEffecterChangeNotification() 405 "Could not set the numeric effecter ID '{EFFECTERID}' return code '{RC}'", in processTerminusNumericEffecterChangeNotification() 412 error("Could not set numeric effecter ID= '{EFFECTERID}'", "EFFECTERID", in processTerminusNumericEffecterChangeNotification() 551 "Failed to encode set numeric effecter request message for effecter ID '{EFFECTERID}' and instanceID '{INSTANCE}' with error code '{RC}'", in setTerminusNumericEffecter() 575 "Failed to decode set numeric effecte in setTerminusNumericEffecter() [all...] |
/openbmc/linux/samples/ftrace/ |
H A D | sample-trace-array.h | 30 * TRACE_SYSTEM is expected to be a C valid variable (alpha-numeric 38 * But the above is only needed if TRACE_SYSTEM is not alpha-numeric 40 * TRACE_SYSTEM. As TRACE_SYSTEM_VAR must be alpha-numeric, if 42 * only alpha-numeric and underscores.
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/amdzen1/ |
H A D | floating-point.json | 6 … event. This event is a speculative event. Since this event includes non-numeric operations it is … 13 … event. This event is a speculative event. Since this event includes non-numeric operations it is … 20 … event. This event is a speculative event. Since this event includes non-numeric operations it is … 27 … event. This event is a speculative event. Since this event includes non-numeric operations it is … 34 … event. This event is a speculative event. Since this event includes non-numeric operations it is … 41 … event. This event is a speculative event. Since this event includes non-numeric operations it is … 48 … event. This event is a speculative event. Since this event includes non-numeric operations it is … 55 … event. This event is a speculative event. Since this event includes non-numeric operations it is … 62 … event. This event is a speculative event. Since this event includes non-numeric operations it is … 69 … event. This event is a speculative event. Since this event includes non-numeric operations it is …
|
/openbmc/linux/Documentation/ABI/stable/ |
H A D | sysfs-class-rfkill | 39 Values: A numeric value: 57 Values: A numeric value. 73 Values: A numeric value. 87 Values: A numeric value.
|
/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/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/bmcweb/redfish-core/include/generated/enums/ |
H A D | triggers.hpp | 10 Numeric, enumerator 50 {MetricTypeEnum::Numeric, "Numeric"},
|
H A D | metric_definition.hpp | 10 Numeric, enumerator 53 {MetricType::Numeric, "Numeric"},
|
/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.
|