Home
last modified time | relevance | path

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

/openbmc/telemetry/src/
H A Dtrigger_factory.cpp31 auto oldThresholds = currentThresholds; in updateDiscreteThresholds() local
35 if (oldThresholds.size() == 1 && in updateDiscreteThresholds()
37 oldThresholds.back()->getThresholdParam())) in updateDiscreteThresholds()
53 if (auto existing = std::find_if(oldThresholds.begin(), in updateDiscreteThresholds()
55 existing != oldThresholds.end()) in updateDiscreteThresholds()
58 oldThresholds.erase(existing); in updateDiscreteThresholds()
78 newThresholds.emplace_back(*oldThresholds.begin()); in updateDiscreteThresholds()
97 auto oldThresholds = currentThresholds; in updateNumericThresholds() local
109 if (auto existing = std::find_if(oldThresholds.begin(), in updateNumericThresholds()
111 existing != oldThresholds.end()) in updateNumericThresholds()
[all …]