/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/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 …]
|
H A D | conversion_trigger.hpp | 14 const std::vector<numeric::ThresholdParam>& arg) const; 23 const std::vector<numeric::LabeledThresholdParam>& arg) const;
|
/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 | 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.cpp | 31 namespace numeric namespace 53 std::string thresholdName = ::numeric::typeToString(type); 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() 95 case ::numeric::Type::lowerWarning: in getRedfishMessageId() [all …]
|
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,
|
H A D | trigger.cpp | 119 "NumericThresholds", std::vector<numeric::ThresholdParam>{}, in __anon5e4599b80402() 122 const std::vector<numeric::ThresholdParam>& newVal, in __anon5e4599b80402() 123 std::vector<numeric::ThresholdParam>& oldVal) { in __anon5e4599b80402() 137 std::get_if<std::vector<numeric::ThresholdParam>>( in __anon5e4599b80402() 142 return std::vector<numeric::ThresholdParam>{}; in __anon5e4599b80402()
|
H A D | trigger_factory.cpp | 95 const std::vector<numeric::LabeledThresholdParam>& newParams) const in updateNumericThresholds() 106 std::get<numeric::LabeledThresholdParam>( in updateNumericThresholds() 144 std::get<std::vector<numeric::LabeledThresholdParam>>(newParams); in updateThresholds() 183 const numeric::LabeledThresholdParam& thresholdParam) const in makeNumericThreshold() 192 action::numeric::fillActions(actions, triggerActions, type, thresholdValue, in makeNumericThreshold()
|
H A D | trigger_factory.hpp | 73 const std::vector<numeric::LabeledThresholdParam>& newParams) const; 89 const numeric::LabeledThresholdParam& thresholdParam) const;
|
H A D | trigger_manager.cpp | 34 const std::vector<numeric::ThresholdParam>& in TriggerManager() 177 .get<std::vector<numeric::LabeledThresholdParam>>(); in loadFromPersistent()
|
/openbmc/telemetry/tests/src/params/ |
H A D | trigger_params.hpp | 102 const std::vector<numeric::LabeledThresholdParam> numericThresholdParams() in numericThresholdParams() 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/telemetry/src/types/ |
H A D | trigger_types.hpp | 66 namespace numeric namespace 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> 215 struct EnumTraits<numeric::Direction>
|
/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/meta-ufispace/meta-ncplite/recipes-phosphor/state/phosphor-state-manager/ |
H A D | chassis-control | 13 host_state=$(gpioget --numeric host0-ready) 32 val=$(gpioget --numeric host0-ready)
|
/openbmc/telemetry/tests/src/mocks/ |
H A D | threshold_mock.hpp | 28 if (std::holds_alternative<std::vector<numeric::LabeledThresholdParam>>( in makeThresholds() 32 std::get<std::vector<numeric::LabeledThresholdParam>>(params); in makeThresholds()
|
/openbmc/qemu/tests/unit/ |
H A D | pkix_asn1_tab.c.inc | 622 {"numeric-user-identifier", 1610637314, "NumericUserIdentifier"}, 631 {0, 1048586, "ub-country-name-numeric-length"}, 636 {"numeric", 1612709890, "NumericString"}, 646 {"numeric", 1612709890, "NumericString"}, 653 {"ub-numeric-user-id-length", 524298, "1"}, 725 {0, 1048586, "ub-country-name-numeric-length"}, 730 {"numeric-code", 1612709890, "NumericString"}, 819 {"ub-country-name-numeric-length", 1342177283, "3"}, 831 {"ub-numeric-user-id-length", 1342177283, "32"},
|
/openbmc/qemu/qapi/ |
H A D | sockets.json | 46 # @numeric: true if the host/port are guaranteed to be numeric, false 69 '*numeric': 'bool',
|
/openbmc/linux/Documentation/networking/ |
H A D | ipsec.rst | 30 Therefore, a numeric threshold should be applied before compression, 32 original form without attempting compression. The numeric threshold
|
/openbmc/bmcweb/redfish-core/src/ |
H A D | filter_expr_executor.cpp | 283 ValueVisitor numeric(body); in operator ()() local 285 left = boost::apply_visitor(numeric, x.left); in operator ()() 287 right = boost::apply_visitor(numeric, x.right); in operator ()()
|
/openbmc/linux/Documentation/livepatch/ |
H A D | shadow-vars.rst | 12 associates pointers to parent objects and a numeric identifier of the 13 shadow data. The numeric identifier is a simple enumeration that may be 16 numeric id subsequently filters hashtable queries. Multiple shadow 17 variables may attach to the same parent object, but their numeric
|
/openbmc/qemu/io/ |
H A D | dns-resolver.c | 69 if (iaddr->has_numeric && iaddr->numeric) { in qio_dns_resolver_lookup_sync_inet() 118 .numeric = true, in qio_dns_resolver_lookup_sync_inet()
|
/openbmc/linux/drivers/media/pci/cx25821/ |
H A D | cx25821-medusa-video.c | 538 static unsigned long convert_to_twos(long numeric, unsigned long bits_len) in convert_to_twos() argument 542 if (numeric >= 0) in convert_to_twos() 543 return numeric; in convert_to_twos() 545 temp = ~(abs(numeric) & 0xFF); in convert_to_twos()
|
/openbmc/linux/Documentation/devicetree/bindings/crypto/ |
H A D | mediatek-crypto.txt | 6 - interrupts: Should contain the five crypto engines interrupts in numeric
|