Home
last modified time | relevance | path

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

/openbmc/phosphor-health-monitor/
H A Dhealth_metric.hpp29 struct MValue struct
58 void update(MValue value);
67 auto shouldNotify(MValue value) -> bool;
69 void checkThreshold(Type type, Bound bound, MValue value);
71 void checkThresholds(MValue value);
H A Dhealth_metric.cpp152 void HealthMetric::checkThreshold(Type type, Bound bound, MValue value) in checkThreshold()
197 void HealthMetric::checkThresholds(MValue value) in checkThresholds()
210 auto HealthMetric::shouldNotify(MValue value) -> bool in shouldNotify()
226 void HealthMetric::update(MValue value) in update()
H A Dhealth_metric_collection.cpp105 metrics[config.name]->update(MValue(activePercValue, 100)); in readCPU()
162 metrics[config.name]->update(MValue(value, total)); in readMemory()
183 metrics[config.name]->update(MValue(value, total)); in readStorage()
/openbmc/phosphor-health-monitor/test/
H A Dtest_health_metric.cpp90 metric->update(MValue(1351, 1500)); in TEST_F()
92 metric->update(MValue(1399, 1500)); in TEST_F()
94 metric->update(MValue(1199, 1500)); in TEST_F()