Searched refs:newThresholds (Results 1 – 3 of 3) sorted by relevance
| /openbmc/telemetry/src/ |
| H A D | trigger_factory.cpp | 32 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() 70 makeDiscreteThreshold(newThresholds, triggerId, triggerActions, in updateDiscreteThresholds() 78 newThresholds.emplace_back(*oldThresholds.begin()); in updateDiscreteThresholds() 82 makeOnChangeThreshold(newThresholds, triggerId, triggerActions, 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() [all …]
|
| /openbmc/dbus-sensors/src/intel-cpu/ |
| H A D | IntelCPUSensor.cpp | 307 std::vector<thresholds::Threshold> newThresholds; in handleResponse() local 309 newThresholds, path, in handleResponse() 313 newThresholds.begin(), in handleResponse() 314 newThresholds.end())) in handleResponse() 316 thresholds = newThresholds; in handleResponse()
|
| /openbmc/telemetry/tests/src/ |
| H A D | test_trigger.cpp | 318 auto newThresholds = std::vector<numeric::ThresholdParam>({std::make_tuple( in TEST_F() local 321 EXPECT_THAT(setProperty(sut->getPath(), "NumericThresholds", newThresholds), in TEST_F() 328 auto newThresholds = std::vector<discrete::ThresholdParam>({std::make_tuple( in TEST_F() local 332 newThresholds), in TEST_F() 342 auto newThresholds = std::vector<discrete::ThresholdParam>({std::make_tuple( in TEST_F() local 349 .newValue = newThresholds, in TEST_F()
|