Home
last modified time | relevance | path

Searched full:thresholdvalue (Results 1 – 20 of 20) sorted by relevance

/openbmc/telemetry/tests/src/
H A Dtest_numeric_threshold.cpp30 double thresholdValue, in makeThreshold() argument
40 std::move(actions), dwellTime, direction, thresholdValue, type, in makeThreshold()
126 NumericParams& ThresholdValue(double val) in ThresholdValue() function
128 thresholdValue = val; in ThresholdValue()
147 *os << ", ThresholdValue: " << o.thresholdValue; in PrintTo()
172 double thresholdValue = 0.0; member
250 makeThreshold(0ms, GetParam().direction, GetParam().thresholdValue); in SetUp()
256 .ThresholdValue(90.0)
262 .ThresholdValue(90.0)
268 .ThresholdValue(90.0)
[all …]
H A Dtest_discrete_threshold.cpp31 makeThreshold(Milliseconds dwellTime, std::string thresholdValue, in makeThreshold() argument
42 std::move(actions), dwellTime, thresholdValue, thresholdName, in makeThreshold()
166 DiscreteParams& ThresholdValue(std::string val) in ThresholdValue() function
168 thresholdValue = std::move(val); in ThresholdValue()
181 *os << ", ThresholdValue: " << o.thresholdValue; in PrintTo()
199 std::string thresholdValue = "0.0"; member
230 TriggerValue(GetParam().thresholdValue))) in testBodySensorIsUpdatedMultipleTimes()
265 sut = makeThreshold(0ms, GetParam().thresholdValue); in SetUp()
272 .ThresholdValue("90.0")
276 .ThresholdValue("90.0")
[all …]
H A Dtest_trigger.cpp378 EXPECT_THAT(tocheck.at_label<utils::tstring::ThresholdValue>(), in TEST_F()
379 Eq(base.at_label<utils::tstring::ThresholdValue>())); in TEST_F()
404 EXPECT_THAT(tocheck.at_label<utils::tstring::ThresholdValue>(), in TEST_F()
405 Eq(base.at_label<utils::tstring::ThresholdValue>())); in TEST_F()
548 expectedItem0["thresholdValue"] = 0.5; in TEST_F()
554 expectedItem1["thresholdValue"] = 90.2; in TEST_F()
568 expectedItem0["thresholdValue"] = "15.2"; in TEST_F()
574 expectedItem1["thresholdValue"] = "32.7"; in TEST_F()
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Sensor/
H A DThreshold.events.yaml30 - name: ThresholdValue
52 - name: ThresholdValue
74 - name: ThresholdValue
96 - name: ThresholdValue
118 - name: ThresholdValue
140 - name: ThresholdValue
162 - name: ThresholdValue
184 - name: ThresholdValue
206 - name: ThresholdValue
228 - name: ThresholdValue
[all …]
/openbmc/telemetry/src/
H A Dnumeric_threshold.cpp14 thresholdValue(thresholdValueIn), type(typeIn), clock(std::move(clockIn)) in NumericThreshold()
59 bool crossedDecreasing = thresholdValue < prevValue && in sensorUpdated()
60 thresholdValue > value; in sensorUpdated()
61 bool crossedIncreasing = thresholdValue > prevValue && in sensorUpdated()
62 thresholdValue < value; in sensorUpdated()
64 if (!crossedDecreasing && !crossedIncreasing && thresholdValue == prevValue) in sensorUpdated()
67 thresholdValue > value; in sensorUpdated()
69 thresholdValue < value; in sensorUpdated()
132 thresholdValue); in getThresholdParam()
H A Ddiscrete_threshold.cpp16 dwellTime(dwellTimeIn), thresholdValue(thresholdValueIn), in DiscreteThreshold()
17 numericThresholdValue(utils::stodStrict(thresholdValue)), in DiscreteThreshold()
102 thresholdValue); in commit()
109 thresholdValue); in getThresholdParam()
H A Dtrigger_factory.cpp165 const std::string& thresholdValue = in makeDiscreteThreshold() local
166 thresholdParam.at_label<ts::ThresholdValue>(); in makeDiscreteThreshold()
173 Milliseconds(dwellTime), thresholdValue, thresholdName, severity, in makeDiscreteThreshold()
190 auto thresholdValue = double{thresholdParam.at_label<ts::ThresholdValue>()}; in makeNumericThreshold()
192 action::numeric::fillActions(actions, triggerActions, type, thresholdValue, in makeNumericThreshold()
197 dwellTime, direction, thresholdValue, type, std::make_unique<Clock>())); in makeNumericThreshold()
H A Dnumeric_threshold.hpp30 double thresholdValue, numeric::Type type,
46 const double thresholdValue; member in NumericThreshold
H A Ddiscrete_threshold.hpp29 Milliseconds dwellTime, const std::string& thresholdValue,
45 const std::string thresholdValue; member in DiscreteThreshold
H A Dtrigger_actions.cpp136 double thresholdValue, boost::asio::io_context& ioc, in fillActions() argument
147 std::make_unique<LogToJournal>(type, thresholdValue)); in fillActions()
153 type, thresholdValue)); in fillActions()
H A Dtrigger_actions.hpp69 double thresholdValue, boost::asio::io_context& ioc,
/openbmc/telemetry/src/utils/
H A Dconversion_trigger.cpp25 thresholdValue] = thresholdParam; in operator ()()
28 thresholdValue); in operator ()()
37 thresholdValue] = thresholdParam; in operator ()()
39 userId, utils::toSeverity(severity), dwellTime, thresholdValue); in operator ()()
53 labeledThresholdParam.at_label<ts::ThresholdValue>()); in operator ()()
66 labeledThresholdParam.at_label<ts::ThresholdValue>()); in operator ()()
107 paramUnpacked->at_label<ts::ThresholdValue>()); in fromLabeledThresholdParam()
126 paramUnpacked->at_label<ts::ThresholdValue>()); in fromLabeledThresholdParam()
H A Dtstring.hpp83 struct ThresholdValue struct
87 return "thresholdValue"; in str()
/openbmc/phosphor-health-monitor/
H A Dhealth_metric.cpp131 bool didThresholdViolate(ThresholdIntf::Bound bound, double thresholdValue, in didThresholdViolate() argument
138 return (value < thresholdValue); in didThresholdViolate()
142 return (value > thresholdValue); in didThresholdViolate()
160 auto thresholdValue = tConfig.value / 100 * value.total; in checkThreshold() local
161 thresholds[type][bound] = thresholdValue; in checkThreshold()
164 if (didThresholdViolate(bound, thresholdValue, value.current)) in checkThreshold()
/openbmc/telemetry/src/types/
H A Dtrigger_types.hpp63 utils::tstring::ThresholdValue>;
136 utils::tstring::ThresholdValue>;
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Common/
H A DThreshold.interface.yaml12 implementation. map{thresholdType,map{thresholdBound,thresholdValue}}
/openbmc/phosphor-fan-presence/sensor-monitor/
H A Dthreshold_alarm_logger.cpp343 auto thresholdValue = in createEventLog() local
346 ad.emplace("THRESHOLD_VALUE", std::to_string(thresholdValue)); in createEventLog()
350 sensorPath, alarmProperty, alarmValue, thresholdValue) in createEventLog()
/openbmc/phosphor-host-ipmid/
H A Dsensorhandler.cpp949 constexpr uint8_t thresholdValue = 1; in ipmiSenSetSensorThresholds() local
1016 ((info.coefficientM * std::get<thresholdValue>(property)) + in ipmiSenSetSensorThresholds()
/openbmc/phosphor-host-ipmid/dbus-sdr/
H A Dsensorcommands.cpp1181 constexpr uint8_t thresholdValue = 1; in ipmiSenSetSensorThresholds() local
1245 double valueToSet = ((mValue * std::get<thresholdValue>(property)) + in ipmiSenSetSensorThresholds()
/openbmc/docs/designs/
H A Dtelemetry.md351 | ThresholdValue | variant | Value of reading that will trigger the threshold …