Home
last modified time | relevance | path

Searched refs:newThresholds (Results 1 – 3 of 3) sorted by relevance

/openbmc/telemetry/src/
H A Dtrigger_factory.cpp32 std::vector<std::shared_ptr<interfaces::Threshold>> newThresholds; in updateDiscreteThresholds() local
42 newThresholds.reserve(newParams.size()); in updateDiscreteThresholds()
57 newThresholds.emplace_back(*existing); in updateDiscreteThresholds()
62 makeDiscreteThreshold(newThresholds, triggerId, triggerActions, in updateDiscreteThresholds()
78 newThresholds.emplace_back(*oldThresholds.begin()); in updateDiscreteThresholds()
86 currentThresholds = std::move(newThresholds); in updateDiscreteThresholds()
98 std::vector<std::shared_ptr<interfaces::Threshold>> newThresholds; in updateNumericThresholds() local
100 newThresholds.reserve(newParams.size()); in updateNumericThresholds()
113 newThresholds.emplace_back(*existing); in updateNumericThresholds()
118 makeNumericThreshold(newThresholds, triggerId, triggerActions, in updateNumericThresholds()
[all …]
/openbmc/dbus-sensors/src/intel-cpu/
H A DIntelCPUSensor.cpp301 std::vector<thresholds::Threshold> newThresholds; in handleResponse() local
303 newThresholds, path, in handleResponse()
307 newThresholds.begin(), in handleResponse()
308 newThresholds.end())) in handleResponse()
310 thresholds = newThresholds; in handleResponse()
/openbmc/telemetry/tests/src/
H A Dtest_trigger.cpp312 TriggerThresholdParams newThresholds = in TEST_F() local
316 EXPECT_THAT(setProperty(sut->getPath(), "Thresholds", newThresholds), in TEST_F()
326 TriggerThresholdParams newThresholds = in TEST_F() local
334 .newValue = newThresholds, in TEST_F()